mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove unused local variable for flake8 check
This commit is contained in:
parent
670049c262
commit
e9ef60f8e5
@ -116,7 +116,7 @@ def safe_getattr(obj, name, *defargs):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
obj_dict = obj.__dict__
|
obj_dict = obj.__dict__
|
||||||
except Exception as exc:
|
except Exception:
|
||||||
obj_dict = {}
|
obj_dict = {}
|
||||||
|
|
||||||
if name in obj_dict:
|
if name in obj_dict:
|
||||||
|
Loading…
Reference in New Issue
Block a user