Revision 3a24c527 scripts/gnt-backup

b/scripts/gnt-backup
43 43
  """
44 44
  exports = GetClient().QueryExports(opts.nodes)
45 45
  for node in exports:
46
    print ("Node: %s" % node)
47
    print ("Exports:")
46
    ToStdout("Node: %s", node)
47
    ToStdout("Exports:")
48 48
    if isinstance(exports[node], list):
49 49
      for instance_name in exports[node]:
50
        print ("\t%s" % instance_name)
50
        ToStdout("\t%s", instance_name)
51 51
    else:
52
      print ("  Could not get exports list")
52
      ToStdout("  Could not get exports list")
53 53

  
54 54

  
55 55
def ExportInstance(opts, args):

Also available in: Unified diff