equal
deleted
inserted
replaced
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: |