fix of fix

This commit is contained in:
Miroslav Stampar 2010-08-09 22:13:56 +00:00
parent f9752137f0
commit 02523dbfb5

View File

@ -161,7 +161,7 @@ def formatDBMSfp(versions=None):
@rtype: C{str} @rtype: C{str}
""" """
while None in versions: while versions and None in versions:
versions.remove(None) versions.remove(None)
if not versions and kb.dbmsVersion and kb.dbmsVersion[0] != "Unknown": if not versions and kb.dbmsVersion and kb.dbmsVersion[0] != "Unknown":