converting a warning to an assert error

This commit is contained in:
Josh Wilson 2008-10-24 22:58:40 +00:00
parent 0eb96ae5eb
commit 69d41d8924

View File

@ -357,7 +357,7 @@ class DistributedObject(DistributedObjectBase):
fieldName, sendToId or self.doId, args)
self.cr.send(dg)
else:
self.notify.warning("sendUpdate failed, because self.cr is not set")
assert self.notify.error("sendUpdate failed, because self.cr is not set")
def sendDisableMsg(self):
self.cr.sendDisableMsg(self.doId)