From: W. Trevor King Date: Sun, 27 Jun 2010 01:08:58 +0000 (-0400) Subject: Fix YAML saving in export_mysql. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d7e47c8ab279ead67bbe35a76e85a9107b06c9c;p=sitecorepy.git Fix YAML saving in export_mysql. --- diff --git a/sitecore/prof/export_mysql.py b/sitecore/prof/export_mysql.py index a7701c5..52167f6 100644 --- a/sitecore/prof/export_mysql.py +++ b/sitecore/prof/export_mysql.py @@ -236,4 +236,4 @@ Example: finally: db.disconnect() - yaml.save(db, profs) + yaml.dump(open(prof_file, 'w'), profs)