VirtualMailManager/config.py
changeset 733 8c7eeb2bc139
parent 703 58815c004a61
child 734 8167ba72235c
equal deleted inserted replaced
732:fae6a42add07 733:8c7eeb2bc139
   433     def _chk_possible_values(self, miss_vers):
   433     def _chk_possible_values(self, miss_vers):
   434         """Check settings for which the possible values are known."""
   434         """Check settings for which the possible values are known."""
   435         if not miss_vers:
   435         if not miss_vers:
   436             value = self.get('misc', 'dovecot_version')
   436             value = self.get('misc', 'dovecot_version')
   437             if not VERSION_RE.match(value):
   437             if not VERSION_RE.match(value):
   438                 self._missing['misc'] = ['version: ' +
   438                 self._missing['misc'] = ['dovecot_version: ' +
   439                         _(u"Not a valid Dovecot version: '%s'") % value]
   439                         _(u"Not a valid Dovecot version: '%s'") % value]
   440         # section database
   440         # section database
   441         db_err = []
   441         db_err = []
   442         value = self.dget('database.module').lower()
   442         value = self.dget('database.module').lower()
   443         if value not in DB_MODULES:
   443         if value not in DB_MODULES: