Remove unused local variable for flake8 check

This commit is contained in:
Leo Huckvale 2016-07-14 15:32:06 +01:00
parent 670049c262
commit e9ef60f8e5

View File

@ -116,7 +116,7 @@ def safe_getattr(obj, name, *defargs):
try:
obj_dict = obj.__dict__
except Exception as exc:
except Exception:
obj_dict = {}
if name in obj_dict: