formatting

This commit is contained in:
Dave Schuyler 2005-07-14 02:54:24 +00:00
parent ecad7a5693
commit 5f3c52e8b3
2 changed files with 4 additions and 4 deletions

View File

@ -383,7 +383,7 @@ class ClientRepository(ConnectionRepository):
# Look up the object
distObj = self.doId2do[doId]
# remove the object from the dictionary
del(self.doId2do[doId])
del self.doId2do[doId]
# Only cache the object if it is a "cacheable" type
# object; this way we don't clutter up the caches with
@ -422,7 +422,7 @@ class ClientRepository(ConnectionRepository):
# If it is in the dictionary, remove it.
obj = self.doId2do[doId]
# Remove it from the dictionary
del(self.doId2do[doId])
del self.doId2do[doId]
# Disable, announce, and delete the object itself...
# unless delayDelete is on...
obj.deleteOrDelay()

View File

@ -235,7 +235,7 @@ class DoCollectionManager:
if len(self.zoneId2doIds[location]) == 0:
del self.zoneId2doIds[location]
del(self.doId2do[do.doId])
del self.doId2do[do.doId]
else:
def removeDOFromTables(self, do):
assert self.notify.debugStateCall(self)
@ -251,7 +251,7 @@ class DoCollectionManager:
if len(self.zoneId2doIds[do.zoneId]) == 0:
del self.zoneId2doIds[do.zoneId]
del(self.doId2do[do.doId])
del self.doId2do[do.doId]
if wantOtpServer:
def changeDOZoneInTables(self, do, newParentId, newZoneId, oldParentId, oldZoneId):