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,6 +1114,9 @@ class Enumeration:
kb.data.cachedColumns = self.getColumns(onlyColNames=True) kb.data.cachedColumns = self.getColumns(onlyColNames=True)
if conf.col:
colList = conf.col.split(",")
else:
colList = kb.data.cachedColumns[conf.db][conf.tbl].keys() colList = kb.data.cachedColumns[conf.db][conf.tbl].keys()
if colList in ([None], ['None']): if colList in ([None], ['None']):