diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-07-16 21:03:32 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-07-16 21:03:32 +0900 |
commit | 2bdbe3aaf4a397d12d67b64ffb0960e9c531435b (patch) | |
tree | 0b9aae8a294b2225d485e85dce604e0b76ad04d1 /sphinx/ext/autosummary/generate.py | |
parent | 052f24facef46a11286260a1868c5d628894e41c (diff) | |
download | sphinx-git-2bdbe3aaf4a397d12d67b64ffb0960e9c531435b.tar.gz |
Fix flake8 violations
Diffstat (limited to 'sphinx/ext/autosummary/generate.py')
-rw-r--r-- | sphinx/ext/autosummary/generate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py index 0c83a4e25..dbf43d4c8 100644 --- a/sphinx/ext/autosummary/generate.py +++ b/sphinx/ext/autosummary/generate.py @@ -263,7 +263,7 @@ def find_autosummary_in_docstring(name, module=None, filename=None): pass except ImportError as e: print("Failed to import '%s': %s" % (name, e)) - except SystemExit as e: + except SystemExit: print("Failed to import '%s'; the module executes module level " "statement and it might call sys.exit()." % name) return [] |