|
|
@@ -21,7 +21,6 @@ class DistributedObjectAI(DirectObject):
|
|
|
# Record the repository
|
|
|
self.air = air
|
|
|
# Record our parentId and zoneId
|
|
|
- ## self.__location = None
|
|
|
self.parentId = None
|
|
|
self.zoneId = None
|
|
|
|
|
|
@@ -197,7 +196,6 @@ class DistributedObjectAI(DirectObject):
|
|
|
self.handleLogicalZoneChange(zoneId, lastLogicalZone)
|
|
|
self.lastNonQuietZone = zoneId
|
|
|
self.air.storeObjectLocation(self.doId, parentId, zoneId)
|
|
|
- ## self.__location = (parentId, zoneId)
|
|
|
|
|
|
# Set the initial values of parentId,zoneId
|
|
|
def setInitLocation(self, parentId, zoneId):
|
|
|
@@ -349,7 +347,6 @@ class DistributedObjectAI(DirectObject):
|
|
|
self.air.generateWithRequiredAndId(self, doId, parentId, zoneId, optionalFields)
|
|
|
self.parentId = parentId
|
|
|
self.zoneId = zoneId
|
|
|
- ## self.__location = (parentId, zoneId)
|
|
|
self.generate()
|
|
|
else:
|
|
|
def generateWithRequiredAndId(self, doId, zoneId, optionalFields=[]):
|
|
|
@@ -374,7 +371,6 @@ class DistributedObjectAI(DirectObject):
|
|
|
assert not hasattr(self, 'parentId')
|
|
|
self.parentId = parentId
|
|
|
self.zoneId = zoneId
|
|
|
- ## self.__location = (parentId, zoneId)
|
|
|
self.generate()
|
|
|
|
|
|
def generateOtpObject(self, parentId, zoneId, optionalFields=[], doId=None):
|
|
|
@@ -398,7 +394,6 @@ class DistributedObjectAI(DirectObject):
|
|
|
assert not hasattr(self, 'parentId') or self.parentId is None
|
|
|
self.parentId = parentId
|
|
|
self.zoneId = zoneId
|
|
|
- ## self.__location = (parentId, zoneId)
|
|
|
self.generate()
|
|
|
|
|
|
def generate(self):
|