|
1534 |
result = False |
1534 |
result = False |
1535 |
if object['modtype'] == 'add': |
1535 |
if object['modtype'] == 'add': |
1536 |
ud.debug(ud.LDAP, ud.INFO, "sync_to_ucs: lock S4 guid: %s" % guid) |
1536 |
ud.debug(ud.LDAP, ud.INFO, "sync_to_ucs: lock S4 guid: %s" % guid) |
1537 |
self.lockingdb.lock_s4(guid) |
1537 |
if not self.lockingdb.is_s4_locked(guid): |
|
|
1538 |
self.lockingdb.lock_s4(guid) |
1538 |
|
1539 |
|
1539 |
if hasattr(self.property[property_type], "ucs_sync_function"): |
1540 |
if hasattr(self.property[property_type], "ucs_sync_function"): |
1540 |
result = self.property[property_type].ucs_sync_function(self, property_type, object) |
1541 |
result = self.property[property_type].ucs_sync_function(self, property_type, object) |