git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
338db36
)
must explicitly catch ConfigParser.MissingSectionHeaderError
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 19 Jul 2012 16:37:25 +0000
(12:37 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 19 Jul 2012 16:37:25 +0000
(12:37 -0400)
sfa/util/config.py
patch
|
blob
|
history
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