From cfcee6439e7c43a1e5d18114cf6860f51fe80da0 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Mon, 13 Dec 2010 21:55:30 +0000 Subject: [PATCH] Cosmetics --- lib/core/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/common.py b/lib/core/common.py index b1daf73a9..ddc413f80 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -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(">=", ""))