Cosmetics

This commit is contained in:
Bernardo Damele 2010-12-13 21:55:30 +00:00
parent 86690682c7
commit cfcee6439e

View File

@ -1711,6 +1711,7 @@ def isDBMSVersionAtLeast(version):
if kb.dbmsVersion and kb.dbmsVersion[0] != "Unknown" and kb.dbmsVersion[0] != None:
value = kb.dbmsVersion[0].replace(" ", "")
if isinstance(value, basestring):
if value.startswith(">="):
value = float(value.replace(">=", ""))