This commit is contained in:
Bernardo Damele 2011-05-10 16:24:09 +00:00
parent b5f090cc4f
commit 97bc816aeb

View File

@ -667,8 +667,8 @@ def __setDBMS():
logger.debug(debugMsg)
conf.dbms = conf.dbms.lower()
regex = re.search("%s ([\d\.]+)" % ("(%s)" % "|".join([alias for alias in SUPPORTED_DBMS])), conf.dbms, re.I)
if regex:
conf.dbms = regex.group(1)
Backend.setVersion(regex.group(2))