districtId in not wantOtpServer

This commit is contained in:
Dave Schuyler 2004-12-29 03:18:23 +00:00
parent 03408cd09d
commit a0c343d591

View File

@ -278,6 +278,13 @@ class DistributedObjectAI(DirectObject.DirectObject):
if not wantOtpServer: if not wantOtpServer:
parentId = 0 parentId = 0
# Make the dclass do the hard work # Make the dclass do the hard work
if not wantOtpServer:
dg = self.dclass.aiFormatGenerate(
self, self.doId, 0, zoneId,
repository.districtId,
repository.ourChannel,
optionalFields)
else:
dg = self.dclass.aiFormatGenerate( dg = self.dclass.aiFormatGenerate(
self, self.doId, parentId, zoneId, self, self.doId, parentId, zoneId,
repository.serverId, repository.serverId,