Przeglądaj źródła

fixed typo that was passing builtin 'object' to handleChildLeave

Darren Ranalli 18 lat temu
rodzic
commit
50225ec96e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      direct/src/distributed/DoCollectionManager.py

+ 1 - 1
direct/src/distributed/DoCollectionManager.py

@@ -395,7 +395,7 @@ class DoCollectionManager:
            oldParentId, oldZoneId = location
            oldParentId, oldZoneId = location
            oldParentObj = self.doId2do.get(oldParentId)
            oldParentObj = self.doId2do.get(oldParentId)
            if oldParentObj:
            if oldParentObj:
-               oldParentObj.handleChildLeave(object, oldZoneId)
+               oldParentObj.handleChildLeave(do, oldZoneId)
         self.deleteObjectLocation(do, do.parentId, do.zoneId)
         self.deleteObjectLocation(do, do.parentId, do.zoneId)
         ## location = do.getLocation()
         ## location = do.getLocation()
         ## if location is not None:
         ## if location is not None: