mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -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)
|
||||
finally:
|
||||
__report_indent -= 1
|
||||
if rVal:
|
||||
if rVal is not None:
|
||||
print indent(' -> '+repr(rVal))
|
||||
pass
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user