bug fix (--tables --columns)

This commit is contained in:
Miroslav Stampar 2011-07-12 23:27:47 +00:00
parent 5c162efbd8
commit 9c694ce3ec

View File

@ -1006,6 +1006,9 @@ class Enumeration:
self.getTables()
if len(kb.data.cachedTables) > 0:
if conf.db in kb.data.cachedTables:
tblList = kb.data.cachedTables[conf.db]
else:
tblList = kb.data.cachedTables.values()
if isinstance(tblList[0], (set, tuple, list)):