VMM/Config: Fixed error handling of missing sections in vmm.cfg.
authorPascal Volk <neverseen@users.sourceforge.net>
Fri, 22 Jan 2010 04:22:59 +0000
changeset 172 6526072ec709
parent 162 0ac9ef587769
child 173 c0e2c7687dd3
child 231 8c4df3dd2d2c
VMM/Config: Fixed error handling of missing sections in vmm.cfg.
VirtualMailManager/Config.py
--- a/VirtualMailManager/Config.py	Sat Jan 02 15:45:12 2010 +0000
+++ b/VirtualMailManager/Config.py	Fri Jan 22 04:22:59 2010 +0000
@@ -151,6 +151,7 @@
         for s in self.__VMMsections:
             if not self.has_section(s):
                 self.__missing[s] = [True]
+                errors = True
             elif not self.__chkOptions(s):
                 errors = True
         return not errors