Fix YAML saving in export_mysql.
authorW. Trevor King <wking@drexel.edu>
Sun, 27 Jun 2010 01:08:58 +0000 (21:08 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 27 Jun 2010 01:08:58 +0000 (21:08 -0400)
sitecore/prof/export_mysql.py

index a7701c5112af0266d16d2567566be465758728dd..52167f60ca572fe74c960e32f6ae98543eddf883 100644 (file)
@@ -236,4 +236,4 @@ Example:
     finally:
         db.disconnect()
 
-    yaml.save(db, profs)
+    yaml.dump(open(prof_file, 'w'), profs)