summaryrefslogtreecommitdiffstats
path: root/extras/prot_filter.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/prot_filter.py')
-rwxr-xr-xextras/prot_filter.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/extras/prot_filter.py b/extras/prot_filter.py
index 3baa27c3f6d..1dcc639d0a0 100755
--- a/extras/prot_filter.py
+++ b/extras/prot_filter.py
@@ -67,7 +67,7 @@ def load (path):
xlator.xl_type = text[1]
continue
if text[0] == "option":
- xlator.opts[text[1]] = string.join(text[2:])
+ xlator.opts[text[1]] = ''.join(text[2:])
continue
if text[0] == "subvolumes":
for sv in text[1:]:
@@ -94,8 +94,7 @@ def generate (graph, last, stream=sys.stdout):
for k, v in last.opts.items():
print(" option %s %s" % (k, v), file=stream)
if last.subvols:
- print(" subvolumes %s" % string.join(
- [ sv.name for sv in last.subvols ]), file=stream)
+ print(" subvolumes %s" % ''.join([ sv.name for sv in last.subvols ]), file=stream)
print("end-volume", file=stream)
def push_filter (graph, old_xl, filt_type, opts={}):