projects
/
leap_pycommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e91c6b2
)
[bug] catch missing section header error
author
Kali Kaneko
<kali@leap.se>
Wed, 10 Jun 2015 18:52:11 +0000
(14:52 -0400)
committer
Kali Kaneko
<kali@leap.se>
Mon, 15 Jun 2015 18:25:24 +0000
(14:25 -0400)
src/leap/common/plugins.py
patch
|
blob
|
history
diff --git
a/src/leap/common/plugins.py
b/src/leap/common/plugins.py
index
bf0cd48
..
04152f9
100644
(file)
--- a/
src/leap/common/plugins.py
+++ b/
src/leap/common/plugins.py
@@
-42,7
+42,8
@@
def _get_extra_pluggable_modules():
try:
modules = eval(
config.get('plugins', 'extra_pluggable_modules'), {}, {})
- except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
+ except (ConfigParser.NoSectionError, ConfigParser.NoOptionError,
+ ConfigParser.MissingSectionHeaderError):
modules = []
return modules