removed unneccesary table.data_rewind, which breaks command piping
This commit is contained in:
parent
521a9d2d81
commit
cd18ec2abf
|
@ -49,7 +49,7 @@ for file in files:
|
||||||
if options.head or options.info: file['output'].write('\n'.join(table.info)+'\n')
|
if options.head or options.info: file['output'].write('\n'.join(table.info)+'\n')
|
||||||
if options.head or options.labels: file['output'].write({True:'\n',False:'\t'}[options.col].join(table.labels)+'\n')
|
if options.head or options.labels: file['output'].write({True:'\n',False:'\t'}[options.col].join(table.labels)+'\n')
|
||||||
if options.data:
|
if options.data:
|
||||||
table.data_rewind()
|
# table.data_rewind()
|
||||||
while table.data_read(): table.data_write()
|
while table.data_read(): table.data_write()
|
||||||
|
|
||||||
table.output_flush()
|
table.output_flush()
|
||||||
|
|
Loading…
Reference in New Issue