Minor refactoring

This commit is contained in:
Bernardo Damele 2011-01-07 17:10:32 +00:00
parent e373dac1f2
commit cc46940159

View File

@ -1149,10 +1149,6 @@ class Enumeration:
elif not kb.data.cachedColumns:
kb.data.cachedColumns = self.getColumns(onlyColNames=True)
if conf.col:
colList = conf.col.split(",")
elif kb.data.cachedColumns and conf.db in kb.data.cachedColumns and conf.tbl in kb.data.cachedColumns[conf.db]:
colList = kb.data.cachedColumns[conf.db][conf.tbl].keys()
else:
errMsg = "missing column names, "