]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
fix yml format in readwrite tool
authorSteven Berler <steven.berler@dreamhost.com>
Fri, 22 Jul 2011 20:38:05 +0000 (13:38 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Tue, 26 Jul 2011 21:20:28 +0000 (14:20 -0700)
Now will print the chunks out one line per chunk instead of splitting
them accross multiple lines.

s3tests/rand_readwrite.py

index 1fe8a34d352dca1abf3ae1fa99b029dd08286d5a..7796ce3195ac7bc1539f8375a30751dad3136688 100644 (file)
@@ -198,7 +198,7 @@ def main():
             q.put(StopIteration)
         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:
         # cleanup