summaryrefslogtreecommitdiffstats
path: root/extras/rebalance.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/rebalance.py')
-rwxr-xr-xextras/rebalance.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/rebalance.py b/extras/rebalance.py
index 0023f9970a8..6dd364b9028 100755
--- a/extras/rebalance.py
+++ b/extras/rebalance.py
@@ -47,12 +47,12 @@ def generate_stanza (vf, all_xlators, cur_subvol):
for sv in cur_subvol.subvols:
generate_stanza(vf, all_xlators, sv)
sv_list.append(sv.name)
- vf.write("volume %s\n"%cur_subvol.name)
- vf.write(" type %s\n"%cur_subvol.type)
+ vf.write("volume %s\n" % cur_subvol.name)
+ vf.write(" type %s\n" % cur_subvol.type)
for kvpair in cur_subvol.opts.items():
- vf.write(" option %s %s\n"%kvpair)
+ vf.write(" option %s %s\n" % kvpair)
if sv_list:
- vf.write(" subvolumes %s\n"%string.join(sv_list))
+ vf.write(" subvolumes %s\n" % ''.join(sv_list))
vf.write("end-volume\n\n")