VirtualMailManager/Config.py
changeset 172 6526072ec709
parent 162 0ac9ef587769
child 173 c0e2c7687dd3
equal deleted inserted replaced
162:0ac9ef587769 172:6526072ec709
   149         """Checks if all configuration sections are existing."""
   149         """Checks if all configuration sections are existing."""
   150         errors = False
   150         errors = False
   151         for s in self.__VMMsections:
   151         for s in self.__VMMsections:
   152             if not self.has_section(s):
   152             if not self.has_section(s):
   153                 self.__missing[s] = [True]
   153                 self.__missing[s] = [True]
       
   154                 errors = True
   154             elif not self.__chkOptions(s):
   155             elif not self.__chkOptions(s):
   155                 errors = True
   156                 errors = True
   156         return not errors
   157         return not errors
   157 
   158 
   158     def __chkOptions(self, section):
   159     def __chkOptions(self, section):