]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Use yaml.safe_dump so unicode doesn't mess up the yaml files.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 13 Jan 2012 19:26:36 +0000 (11:26 -0800)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 13 Jan 2012 19:26:36 +0000 (11:26 -0800)
commit3bfa41cf6ad945c21cf8499f94dd71cf07b3cb04
treeb55706fc028c9c0537213fbc1787d389d577924a
parent0da44591a9151cab2365c2e17d32a9cd278184ab
Use yaml.safe_dump so unicode doesn't mess up the yaml files.

In general, yaml.dump is comparable to pickle, and my personal
coding standard says *never* use it. yaml.safe_dump is much nicer.
yaml.dump should have been named yaml.unsafe_dump, yaml.safe_dump
should have been named yaml.dump :(
teuthology/task/s3readwrite.py
teuthology/task/s3roundtrip.py