deliver credentials : correctly use suth x PI to deliver slice credentials to PIs
[sfa.git] / sfa / storage / record.py
index 0d03bc6..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:
@@ -93,7 +93,7 @@ class Record:
             elif attrib_name in ['date created', 'last updated']:
                 print "    %s: %s" % (attrib_name, self.date_repr(attrib_name))
             else:
-                print "     %s: %s" % (attrib_name, attrib)
+                print "    %s: %s" % (attrib_name, attrib)
 
     def dump_simple(self):
         return "%s"%self