From: W. Trevor King Date: Sun, 27 Jun 2010 01:09:54 +0000 (-0400) Subject: yaml.dump(stream, data) -> yaml.dump(data, stream) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b5de55987d090aa530b8c2b32edac0253f832a62;p=sitecorepy.git yaml.dump(stream, data) -> yaml.dump(data, stream) --- diff --git a/sitecore/prof/export_mysql.py b/sitecore/prof/export_mysql.py index 52167f6..fb4d45d 100644 --- a/sitecore/prof/export_mysql.py +++ b/sitecore/prof/export_mysql.py @@ -236,4 +236,4 @@ Example: finally: db.disconnect() - yaml.dump(open(prof_file, 'w'), profs) + yaml.dump(profs, open(prof_file, 'w'))