summaryrefslogtreecommitdiff
path: root/alot/settings/utils.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-07-14 14:31:24 +0200
committerLucas Hoffmann <l-m-h@web.de>2016-12-09 11:26:19 +0100
commit84c79143dcf0a56112d8703f24052ca1f5f2832c (patch)
treee824421a44e77464f262f344bc0f4b87d610ea0c /alot/settings/utils.py
parentfe748a7f47fb61d46dd88c270c2329e6ff19a895 (diff)
Fix except syntax
Diffstat (limited to 'alot/settings/utils.py')
-rw-r--r--alot/settings/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/settings/utils.py b/alot/settings/utils.py
index f46a8caf..2048a36c 100644
--- a/alot/settings/utils.py
+++ b/alot/settings/utils.py
@@ -27,7 +27,8 @@ def read_config(configpath=None, specpath=None, checks={}):
except ConfigObjError as e:
raise ConfigError(e)
except IOError:
- raise ConfigError('Could not read %s and/or %s' % (configpath, specpath))
+ raise ConfigError('Could not read %s and/or %s'
+ % (configpath, specpath))
except UnboundLocalError:
# this works around a bug in configobj
msg = '%s is malformed. Check for sections without parents..'