Browse Source

remove debug output

Redmond Urbino 19 years ago
parent
commit
9c1464b176
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/distributed/RelatedObjectMgr.py

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

@@ -233,7 +233,7 @@ class RelatedObjectMgr(DirectObject.DirectObject):
             
             
                 objects, doIdsPending = self.__generateObjectList(doIdList)
                 objects, doIdsPending = self.__generateObjectList(doIdList)
                 if None in objects:
                 if None in objects:
-                    self.notify.warning('calling %s with None.\n objects=%s\n doIdsPending=%s\n doIdList=%s\n' % (allCallback,objects,doIdsPending,doIdList))
+                    assert self.notify.warning('calling %s with None.\n objects=%s\n doIdsPending=%s\n doIdList=%s\n' % (allCallback,objects,doIdsPending,doIdList))
                 if allCallback:
                 if allCallback:
                     allCallback(objects)
                     allCallback(objects)