summaryrefslogtreecommitdiff
path: root/poezio/core/completions.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-10-12 01:23:40 +0200
committermathieui <mathieui@mathieui.net>2017-10-12 01:23:40 +0200
commit3317604c6544a488bec749c06a52382971b60790 (patch)
treec7a8ff4b7019c6b1ab2a69f657dc4c5867ffd29c /poezio/core/completions.py
parentb29b70da0ff89fc24b2118c047f2071edcd36384 (diff)
downloadpoezio-3317604c6544a488bec749c06a52382971b60790.tar.gz
poezio-3317604c6544a488bec749c06a52382971b60790.tar.bz2
poezio-3317604c6544a488bec749c06a52382971b60790.tar.xz
poezio-3317604c6544a488bec749c06a52382971b60790.zip
Fix some excepts (bare, useless, unused)
Diffstat (limited to 'poezio/core/completions.py')
-rw-r--r--poezio/core/completions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/completions.py b/poezio/core/completions.py
index a6007152..634ab6b3 100644
--- a/poezio/core/completions.py
+++ b/poezio/core/completions.py
@@ -55,7 +55,7 @@ class CompletionCore:
themes_dir = os.path.expanduser(themes_dir)
try:
names = os.listdir(themes_dir)
- except OSError as e:
+ except OSError:
log.error('Completion for /theme failed', exc_info=True)
return False
theme_files = [name[:-3] for name in names if name.endswith('.py') and name != '__init__.py']