Browse Source

remove __debug__

David Rose 17 years ago
parent
commit
993b1af160
1 changed files with 2 additions and 4 deletions
  1. 2 4
      direct/src/task/Task.py

+ 2 - 4
direct/src/task/Task.py

@@ -2,10 +2,8 @@
 TaskOrig.py, the original Python implementation of the task system,
 and TaskNew.py, the new C++ implementation. """
 
-wantNewTasks = False
-if __debug__:
-    from pandac.PandaModules import ConfigVariableBool
-    wantNewTasks = ConfigVariableBool('want-new-tasks', False).getValue()
+from pandac.libpandaexpressModules import ConfigVariableBool
+wantNewTasks = ConfigVariableBool('want-new-tasks', False).getValue()
 
 if wantNewTasks:
     from TaskNew import *