Minor improvement

This commit is contained in:
Bernardo Damele
2011-01-15 23:54:03 +00:00
parent 29ea0950b6
commit 02b333e30b
2 changed files with 27 additions and 2 deletions

View File

@@ -280,7 +280,10 @@ class Fingerprint(GenericFingerprint):
elif result is False:
kb.os = "Windows"
infoMsg = "the back-end DBMS operating system is %s" % (kb.os or "Unknown")
logger.info(infoMsg)
if kb.os:
infoMsg = "the back-end DBMS operating system is %s" % kb.os
logger.info(infoMsg)
else:
self.userChooseDbmsOs()
self.cleanup(onlyFileTbl=True)