From a679de3541a8b7081696a867c25691cc463a56eb Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Tue, 16 Jun 2009 23:45:05 +0000 Subject: [PATCH] removing extraneous global declaration --- direct/src/showbase/PythonUtil.py | 1 - 1 file changed, 1 deletion(-) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index 515dad3656..f266d7cc23 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -3312,7 +3312,6 @@ def report(types = [], prefix = '', xform = None, notifyFunc = None, dConfigPara rVal = None try: __report_indent += 1 - global rVal rVal = f(*args,**kwargs) finally: __report_indent -= 1