Minor bug fix

This commit is contained in:
Bernardo Damele 2011-05-10 15:48:48 +00:00
parent 3a8309c4b0
commit b5f090cc4f

View File

@ -1628,6 +1628,7 @@ class Enumeration:
"table": unsafeSQLIdentificatorNaming(tbl), "table": unsafeSQLIdentificatorNaming(tbl),
"db": unsafeSQLIdentificatorNaming(conf.db) } "db": unsafeSQLIdentificatorNaming(conf.db) }
attackDumpedTable()
conf.dumper.dbTableValues(kb.data.dumpedTable) conf.dumper.dbTableValues(kb.data.dumpedTable)
else: else:
warnMsg = "unable to retrieve the entries of " warnMsg = "unable to retrieve the entries of "
@ -1646,8 +1647,6 @@ class Enumeration:
errMsg += "'%s'" % e errMsg += "'%s'" % e
logger.critical(errMsg) logger.critical(errMsg)
attackDumpedTable()
def dumpAll(self): def dumpAll(self):
if conf.db is not None and conf.tbl is None: if conf.db is not None and conf.tbl is None:
self.dumpTable() self.dumpTable()