From b5de55987d090aa530b8c2b32edac0253f832a62 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 26 Jun 2010 21:09:54 -0400 Subject: [PATCH] yaml.dump(stream, data) -> yaml.dump(data, stream) --- sitecore/prof/export_mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) -- 2.26.2