fix for create new avatar

This commit is contained in:
Dave Schuyler 2005-07-20 02:51:24 +00:00
parent 0037bf99c2
commit 0b8f6c1f3f
1 changed files with 3 additions and 3 deletions

View File

@ -227,7 +227,7 @@ class DoCollectionManager:
if wantOtpServer:
def removeDOFromTables(self, do):
assert self.notify.debugStateCall(self)
assert do.doId in self.doId2do
#assert do.doId in self.doId2do
location = do.getLocation()
if location is not None:
if location not in self.zoneId2doIds:
@ -239,8 +239,8 @@ class DoCollectionManager:
del(self.zoneId2doIds[location][do.doId])
if len(self.zoneId2doIds[location]) == 0:
del self.zoneId2doIds[location]
del self.doId2do[do.doId]
if do.doId in self.doId2do:
del self.doId2do[do.doId]
else:
def removeDOFromTables(self, do):
assert self.notify.debugStateCall(self)