Browse Source

protect against changes to Python interface layer

Darren Ranalli 17 years ago
parent
commit
04ed456dbe
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/showbase/PythonUtil.py

+ 2 - 1
direct/src/showbase/PythonUtil.py

@@ -2456,7 +2456,8 @@ def _getDtoolSuperBase():
     global dtoolSuperBase
     from pandac.PandaModules import PandaNode
     dtoolSuperBase = PandaNode('').__class__.__bases__[0].__bases__[0].__bases__[0]
-
+    assert repr(dtoolSuperBase) == "<type 'libdtoolconfig.DTOOL_SUPPER_BASE111'>"
+    
 safeReprNotify = None
 
 def _getSafeReprNotify():