瀏覽代碼

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 direct.showbase import DirectObject
 from PyDatagram import PyDatagram
 from PyDatagram import PyDatagram
 #from PyDatagramIterator import PyDatagramIterator
 #from PyDatagramIterator import PyDatagramIterator
+from direct.directnotify.DirectNotifyGlobal import directNotify
 
 
 class DoInterestManager(DirectObject.DirectObject):
 class DoInterestManager(DirectObject.DirectObject):
     """
     """
     Top level Interest Manager
     Top level Interest Manager
     """
     """
-    #if __debug__:      is this production ready?
-    from direct.directnotify.DirectNotifyGlobal import directNotify
     notify = directNotify.newCategory("DoInterestManager")
     notify = directNotify.newCategory("DoInterestManager")
 
 
     _interestIdAssign = 1
     _interestIdAssign = 1