Patch for an Issue #795

This commit is contained in:
Miroslav Stampar 2014-08-22 14:11:23 +02:00
parent 2ce3ccac46
commit e3a0f25db0

View File

@ -399,6 +399,10 @@ class Dump(object):
columns = prioritySortColumns(tableValues.keys()) columns = prioritySortColumns(tableValues.keys())
if conf.col:
cols = conf.col.split(',')
columns = sorted(columns, key=lambda _: cols.index(_) if _ in cols else 0)
for column in columns: for column in columns:
if column != "__infos__": if column != "__infos__":
info = tableValues[column] info = tableValues[column]