Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 468eeb6 commit 6eab799Copy full SHA for 6eab799
1 file changed
lib/core/common.py
@@ -161,7 +161,10 @@ def formatDBMSfp(versions=None):
161
@rtype: C{str}
162
"""
163
164
- if ( not versions or versions == [None] ) and kb.dbmsVersion and kb.dbmsVersion[0] != "Unknown":
+ while None in versions:
165
+ versions.remove(None)
166
+
167
+ if not versions and kb.dbmsVersion and kb.dbmsVersion[0] != "Unknown":
168
versions = kb.dbmsVersion
169
170
if isinstance(versions, basestring):
0 commit comments