save_as_xml() instead of save_to_string()
[sfa.git] / 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: