From 1e67b4f0b9ba3db6c439f7a985e3f5d6a0d8c8ab Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 20 Jun 2012 14:16:26 +0000 Subject: [PATCH] minor fix --- lib/core/session.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/session.py b/lib/core/session.py index 63a64b76a..8f18ef6d9 100644 --- a/lib/core/session.py +++ b/lib/core/session.py @@ -119,10 +119,6 @@ def resumeConfKb(expression, url, value): dbms = dbms.lower() dbmsVersion = [UNKNOWN_DBMS_VERSION] - infoMsg = "resuming back-end DBMS '%s' " % dbms - infoMsg += "from session file" - logger.info(infoMsg) - firstRegExp = "(%s)" % ("|".join([alias for alias in SUPPORTED_DBMS])) dbmsRegExp = re.search("%s ([\d\.]+)" % firstRegExp, dbms) @@ -143,6 +139,10 @@ def resumeConfKb(expression, url, value): Backend.setDbms(dbms) Backend.setVersionList(dbmsVersion) else: + infoMsg = "resuming back-end DBMS '%s' " % dbms + infoMsg += "from session file" + logger.info(infoMsg) + Backend.setDbms(dbms) Backend.setVersionList(dbmsVersion)