minor bug fix

This commit is contained in:
Miroslav Stampar 2011-01-31 09:34:54 +00:00
parent f7feebe0df
commit 5e768be509

View File

@ -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")