VirtualMailManager/Config.py
branchv0.6.x
changeset 171 6f8ac86d1611
parent 168 fd496561acc6
child 173 c0e2c7687dd3
equal deleted inserted replaced
170:d9ca5c46c1fa 171:6f8ac86d1611
   152         """Checks if all configuration sections are existing."""
   152         """Checks if all configuration sections are existing."""
   153         errors = False
   153         errors = False
   154         for s in self.__VMMsections:
   154         for s in self.__VMMsections:
   155             if not self.has_section(s):
   155             if not self.has_section(s):
   156                 self.__missing[s] = [True]
   156                 self.__missing[s] = [True]
       
   157                 errors = True
   157             elif not self.__chkOptions(s):
   158             elif not self.__chkOptions(s):
   158                 errors = True
   159                 errors = True
   159         return not errors
   160         return not errors
   160 
   161 
   161     def __chkOptions(self, section):
   162     def __chkOptions(self, section):