minor fix

This commit is contained in:
Miroslav Stampar 2010-11-04 22:00:14 +00:00
parent d7dbf814a0
commit c8fe2fa8d8

View File

@ -1260,6 +1260,7 @@ class Enumeration:
kb.data.cachedDbs = [] kb.data.cachedDbs = []
kb.data.cachedTables = self.getTables() kb.data.cachedTables = self.getTables()
if kb.data.cachedTables:
if isinstance(kb.data.cachedTables, list): if isinstance(kb.data.cachedTables, list):
kb.data.cachedTables = { None : kb.data.cachedTables } kb.data.cachedTables = { None : kb.data.cachedTables }