removed few trailing whitespace lines

This commit is contained in:
Miroslav Stampar 2011-04-15 20:52:08 +00:00
parent 877d5c1e7f
commit 88c76147e1
2 changed files with 2 additions and 3 deletions

View File

@ -104,7 +104,7 @@ def tableExists(tableFile, regex=None):
choice = readInput(message, default=str(conf.threads))
if choice and choice.isdigit():
conf.threads = int(choice)
if conf.threads == 1:
warnMsg = "running in a single-thread mode. This could take a while."
logger.warn(warnMsg)
@ -222,7 +222,7 @@ def columnExists(columnFile, regex=None):
choice = readInput(message, default=str(conf.threads))
if choice and choice.isdigit():
conf.threads = int(choice)
if conf.threads == 1:
warnMsg = "running in a single-thread mode. This could take a while."
logger.warn(warnMsg)

View File

@ -481,7 +481,6 @@ class Enumeration:
elif Backend.getIdentifiedDbms() == DBMS.MYSQL and not kb.data.has_information_schema:
if privilege.upper() == "Y":
privileges.add(mysqlPrivs[count])
if self.__isAdminFromPrivileges(privileges):
areAdmins.add(user)