protect against changes to Python interface layer

This commit is contained in:
Darren Ranalli 2008-12-05 01:36:40 +00:00
parent 8a180e8d09
commit 04ed456dbe
1 changed files with 2 additions and 1 deletions

View File

@ -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():