VMM/Config: Fixed error handling of missing sections in vmm.cfg. v0.6.x
authorPascal Volk <neverseen@users.sourceforge.net>
Fri, 22 Jan 2010 04:00:48 +0000
branchv0.6.x
changeset 171 6f8ac86d1611
parent 170 d9ca5c46c1fa
child 173 c0e2c7687dd3
VMM/Config: Fixed error handling of missing sections in vmm.cfg.
VirtualMailManager/Config.py
--- a/VirtualMailManager/Config.py	Mon Jan 18 18:34:48 2010 +0000
+++ b/VirtualMailManager/Config.py	Fri Jan 22 04:00:48 2010 +0000
@@ -154,6 +154,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