فهرست منبع

notify should not be if __debug__

Darren Ranalli 20 سال پیش
والد
کامیت
95618b8d7f
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      direct/src/distributed/DoInterestManager.py

+ 1 - 2
direct/src/distributed/DoInterestManager.py

@@ -13,13 +13,12 @@ from direct.showbase.PythonUtil import *
 from direct.showbase import DirectObject
 from PyDatagram import PyDatagram
 #from PyDatagramIterator import PyDatagramIterator
+from direct.directnotify.DirectNotifyGlobal import directNotify
 
 class DoInterestManager(DirectObject.DirectObject):
     """
     Top level Interest Manager
     """
-    #if __debug__:      is this production ready?
-    from direct.directnotify.DirectNotifyGlobal import directNotify
     notify = directNotify.newCategory("DoInterestManager")
 
     _interestIdAssign = 1