Forráskód Böngészése

remove debug output

Redmond Urbino 19 éve
szülő
commit
9c1464b176
1 módosított fájl, 1 hozzáadás és 1 törlés
  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)
                 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:
                     allCallback(objects)