summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-06-10 14:52:11 -0400
committerKali Kaneko <kali@leap.se>2015-06-15 14:25:24 -0400
commitc9f07ff0041fac8b5124a15a8053bb9cc9f03bb2 (patch)
treef31bb84825c157f3ae1a0b898b51180a65f5d38f /src/leap
parente91c6b2daf15d849de5a5fd72436f9f88505250e (diff)
[bug] catch missing section header error
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/common/plugins.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/common/plugins.py b/src/leap/common/plugins.py
index bf0cd48..04152f9 100644
--- 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