fix yml format in readwrite tool

Now will print the chunks out one line per chunk instead of splitting
them accross multiple lines.
This commit is contained in:
Steven Berler 2011-07-22 13:38:05 -07:00 committed by Tommi Virtanen
parent 1e991bc4bc
commit 33876b0dae

View file

@ -198,7 +198,7 @@ def main():
q.put(StopIteration) q.put(StopIteration)
gevent.spawn_later(options.duration, stop) gevent.spawn_later(options.duration, stop)
yaml.safe_dump_all(q, stream=sys.stdout, default_flow_style=False) yaml.safe_dump_all(q, stream=sys.stdout)
finally: finally:
# cleanup # cleanup