Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-10-23 17:01:18 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-10-23 17:01:18 +0300
commit47c869c89ab47f5c89300442d5b4a1abe4f3543c (patch)
tree16fad1a1f84281ffa0326f85fe2e47ff0cd4daf8 /sphinx/theming.py
parent314831d332f73252214c090d356c6e84d6fb3795 (diff)
Fix flake8 and style-check violations
Diffstat (limited to 'sphinx/theming.py')
-rw-r--r--sphinx/theming.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/theming.py b/sphinx/theming.py
index 1cd07b8dc..f787e8120 100644
--- a/sphinx/theming.py
+++ b/sphinx/theming.py
@@ -156,7 +156,7 @@ def is_archived_theme(filename):
try:
with ZipFile(filename) as f: # type: ignore
return THEMECONF in f.namelist()
- except:
+ except Exception:
return False