mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
in report print return val unless it's None
This commit is contained in:
parent
430800a43e
commit
1f4bc1cc1c
@ -3343,7 +3343,7 @@ def report(types = [], prefix = '', xform = None, notifyFunc = None, dConfigPara
|
|||||||
rVal = f(*args,**kwargs)
|
rVal = f(*args,**kwargs)
|
||||||
finally:
|
finally:
|
||||||
__report_indent -= 1
|
__report_indent -= 1
|
||||||
if rVal:
|
if rVal is not None:
|
||||||
print indent(' -> '+repr(rVal))
|
print indent(' -> '+repr(rVal))
|
||||||
pass
|
pass
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user