From 04ed456dbe2d0893339a8e342d29ad404b406f30 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Fri, 5 Dec 2008 01:36:40 +0000 Subject: [PATCH] protect against changes to Python interface layer --- direct/src/showbase/PythonUtil.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index a2f31cb3f2..53b7030e7a 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/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) == "" + safeReprNotify = None def _getSafeReprNotify():