Fix indentation error in python bindings
parent
d672ae21d0
commit
e1322f9178
|
@ -274,8 +274,8 @@ def hasattr_silent(object, name):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not object:
|
if not object:
|
||||||
return False
|
return False
|
||||||
return hasattr(object, name)
|
return hasattr(object, name)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue