diff -r 612a60e9d558 -r 17f2c5b5098e VirtualMailManager/config.py --- a/VirtualMailManager/config.py Sat Apr 07 15:23:14 2012 +0200 +++ b/VirtualMailManager/config.py Sat Apr 07 20:38:48 2012 +0000 @@ -20,7 +20,7 @@ from VirtualMailManager.maillocation import known_format from VirtualMailManager.password import verify_scheme as _verify_scheme -DB_MUDULES = ('psycopg2', 'pypgsql') +DB_MODULES = ('psycopg2', 'pypgsql') DB_SSL_MODES = ('allow', 'disabled', 'prefer', 'require', 'verify-ca', 'verify-full') @@ -440,7 +440,7 @@ # section database db_err = [] value = self.dget('database.module').lower() - if value not in DB_MUDULES: + if value not in DB_MODULES: db_err.append('module: ' + \ _(u"Unsupported database module: '%s'") % value) if value == 'psycopg2': @@ -475,7 +475,7 @@ def check_db_module(module): """Check if the *module* is a supported pgsql module.""" - if module.lower() in DB_MUDULES: + if module.lower() in DB_MODULES: return module raise ConfigValueError(_(u"Unsupported database module: '%s'") % get_unicode(module))