diff options
Diffstat (limited to 'alot/settings/utils.py')
-rw-r--r-- | alot/settings/utils.py | 4 |
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) |