Merge pull request #2648 from rspencer01/master
Fix indentation error in python bindingspull/2649/head^2
commit
3069e2272d
|
@ -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