save_as_xml() instead of save_to_string()
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 19 Mar 2012 15:57:25 +0000 (11:57 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 19 Mar 2012 15:57:25 +0000 (11:57 -0400)
sfa/storage/record.py

index 254ca3d..ad1c8c7 100644 (file)
@@ -70,7 +70,7 @@ class Record:
         if format == 'text':
             self.dump_text(dump_parents)
         elif format == 'xml':
-            print self.save_to_string()
+            print self.save_as_xml()
         elif format == 'simple':
             print self.dump_simple()
         else: