From 97bc816aeb08bd4de6364b649374bc369678a969 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 10 May 2011 16:24:09 +0000 Subject: [PATCH] layout --- lib/core/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 501061618..b1af6eb3a 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -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))