commented out redundant setting of parent and zone

This commit is contained in:
Dave Schuyler 2005-12-03 03:37:29 +00:00
parent 8944514619
commit d977adcf5d
1 changed files with 5 additions and 5 deletions

View File

@ -296,8 +296,8 @@ class DistributedObjectUD(DistributedObjectBase):
# The repository is the one that really does the work
self.air.generateWithRequiredAndId(self, doId, parentId, zoneId, optionalFields)
self.parentId = parentId
self.zoneId = zoneId
## self.parentId = parentId
## self.zoneId = zoneId
self.generate()
self.announceGenerate()
@ -319,9 +319,9 @@ class DistributedObjectUD(DistributedObjectBase):
# Send a generate message
self.sendGenerateWithRequired(self.air, parentId, zoneId, optionalFields)
assert not hasattr(self, 'parentId') or self.parentId is None
self.parentId = parentId
self.zoneId = zoneId
## assert not hasattr(self, 'parentId') or self.parentId is None
## self.parentId = parentId
## self.zoneId = zoneId
self.generate()
def generate(self):