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): def setVersionList(versionsList):
if isinstance(versionsList, list): if isinstance(versionsList, list):
kb.dbmsVersion = versionsList kb.dbmsVersion = versionsList
elif isinstance(version, basestring): elif isinstance(versionsList, basestring):
Backend.setVersion(versionsList) Backend.setVersion(versionsList)
else: else:
logger.error("invalid format of versionsList") logger.error("invalid format of versionsList")