From 5e768be5097db343024d1b559a7c5f2f89af04b8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 31 Jan 2011 09:34:54 +0000 Subject: [PATCH] minor bug fix --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 299e901b3..40a0fbec3 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -274,7 +274,7 @@ class Backend: def setVersionList(versionsList): if isinstance(versionsList, list): kb.dbmsVersion = versionsList - elif isinstance(version, basestring): + elif isinstance(versionsList, basestring): Backend.setVersion(versionsList) else: logger.error("invalid format of versionsList")