git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
must explicitly catch ConfigParser.MissingSectionHeaderError
[sfa.git]
/
sfa
/
util
/
config.py
diff --git
a/sfa/util/config.py
b/sfa/util/config.py
index
7220afb
..
2c06736
100644
(file)
--- a/
sfa/util/config.py
+++ b/
sfa/util/config.py
@@
-131,7
+131,7
@@
DO NOT EDIT. This file was automatically generated at
c = ConfigParser.ConfigParser()
c.read(config_file)
return True
- except:
+ except
ConfigParser.MissingSectionHeaderError
:
return False