Browse Source

generate/delete refcount: warning->debug (no use spamming for now)

Darren Ranalli 17 years ago
parent
commit
0c4fdfe262

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

@@ -97,7 +97,7 @@ class DistributedObjectAI(DistributedObjectBase):
         """
         """
         self.__generates -= 1
         self.__generates -= 1
         if self.__generates < 0:
         if self.__generates < 0:
-            self.notify.warning('DistributedObjectAI: delete() called more times than generate()')
+            self.notify.debug('DistributedObjectAI: delete() called more times than generate()')
         if self.__generates == 0:
         if self.__generates == 0:
             # prevent this code from executing multiple times
             # prevent this code from executing multiple times
             if self.air is not None:
             if self.air is not None:

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

@@ -93,7 +93,7 @@ class DistributedObjectUD(DistributedObjectBase):
         """
         """
         self.__generates -= 1
         self.__generates -= 1
         if self.__generates < 0:
         if self.__generates < 0:
-            self.notify.warning('DistributedObjectUD: delete() called more times than generate()')
+            self.notify.debug('DistributedObjectUD: delete() called more times than generate()')
         if self.__generates == 0:
         if self.__generates == 0:
             # prevent this code from executing multiple times
             # prevent this code from executing multiple times
             if self.air is not None:
             if self.air is not None: