temporary hack until proper fix is in place

This commit is contained in:
Justin Butler 2006-07-08 01:23:57 +00:00
parent e33e528192
commit b27677c479
1 changed files with 4 additions and 1 deletions

View File

@ -68,7 +68,10 @@ class DoHierarchy:
def deleteObjectLocation(self, doId, parentId, zoneId):
assert self.notify.debugCall()
assert doId in self._allDoIds
#assert doId in self._allDoIds
# jbutler: temp hack to get by the assert, this will be fixed soon
if (doId not in self._allDoIds):
return
parentZoneDict = self._table.get(parentId)
if parentZoneDict is not None:
zoneDoSet = parentZoneDict.get(zoneId)