Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02523db

Browse files
committed
fix of fix
1 parent f975213 commit 02523db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def formatDBMSfp(versions=None):
161161
@rtype: C{str}
162162
"""
163163

164-
while None in versions:
164+
while versions and None in versions:
165165
versions.remove(None)
166166

167167
if not versions and kb.dbmsVersion and kb.dbmsVersion[0] != "Unknown":

0 commit comments

Comments
 (0)