Revision 461f0538 scripts/gnt-backup
b/scripts/gnt-backup | ||
---|---|---|
43 | 43 |
for node in exports: |
44 | 44 |
print ("Node: %s" % node) |
45 | 45 |
print ("Exports:") |
46 |
for instance_name in exports[node]: |
|
47 |
print ("\t%s" % instance_name) |
|
46 |
if isinstance(exports[node], list): |
|
47 |
for instance_name in exports[node]: |
|
48 |
print ("\t%s" % instance_name) |
|
49 |
else: |
|
50 |
print (" Could not get exports list") |
|
48 | 51 |
|
49 | 52 |
|
50 | 53 |
def ExportInstance(opts, args): |
Also available in: Unified diff