this way order given in -C is preserved

This commit is contained in:
Miroslav Stampar 2010-12-26 14:11:42 +00:00
parent c93f2a703d
commit c4d6a367e9

View File

@ -1114,7 +1114,10 @@ class Enumeration:
kb.data.cachedColumns = self.getColumns(onlyColNames=True)
colList = kb.data.cachedColumns[conf.db][conf.tbl].keys()
if conf.col:
colList = conf.col.split(",")
else:
colList = kb.data.cachedColumns[conf.db][conf.tbl].keys()
if colList in ([None], ['None']):
warnMsg = "unable to retrieve column names"