yaml.dump(stream, data) -> yaml.dump(data, stream)
authorW. Trevor King <wking@drexel.edu>
Sun, 27 Jun 2010 01:09:54 +0000 (21:09 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 27 Jun 2010 01:09:54 +0000 (21:09 -0400)
sitecore/prof/export_mysql.py

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