summaryrefslogtreecommitdiff
path: root/alot/settings/utils.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-07-21 16:23:04 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-07-21 16:23:04 +0100
commit5e0741e33a5565ba7a3bdc01813f80cb4a24c0f8 (patch)
tree2e14a1fcafd5f9211dfe7a6343a9d73f2a94e858 /alot/settings/utils.py
parent3cca629ba712ad3ad6b9f6ac86797248101434ab (diff)
pep8 and pyflakes fixes
Diffstat (limited to 'alot/settings/utils.py')
-rw-r--r--alot/settings/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/settings/utils.py b/alot/settings/utils.py
index d274fb7c..f6cc3613 100644
--- a/alot/settings/utils.py
+++ b/alot/settings/utils.py
@@ -24,9 +24,9 @@ def read_config(configpath=None, specpath=None, checks={}):
try:
config = ConfigObj(infile=configpath, configspec=specpath,
file_error=True, encoding='UTF8')
- except (ConfigObjError, IOError), e:
+ except (ConfigObjError, IOError):
raise ConfigError('Couls not read %s' % configpath)
- except UnboundLocalError as e:
+ except UnboundLocalError:
# this works around a bug in configobj
msg = '%s is malformed. Check for sections without parents..'
raise ConfigError(msg % configpath)