Merge pull request #2648 from rspencer01/master

Fix indentation error in python bindings
pull/2649/head^2
Kim Kulling 2019-09-12 16:26:00 +02:00 committed by GitHub
commit 3069e2272d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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