summaryrefslogtreecommitdiffstats
path: root/tools/glusterfind/S57glusterfind-delete-post.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/glusterfind/S57glusterfind-delete-post.py')
-rwxr-xr-xtools/glusterfind/S57glusterfind-delete-post.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/glusterfind/S57glusterfind-delete-post.py b/tools/glusterfind/S57glusterfind-delete-post.py
index 5b5142d..5beece2 100755
--- a/tools/glusterfind/S57glusterfind-delete-post.py
+++ b/tools/glusterfind/S57glusterfind-delete-post.py
@@ -18,7 +18,7 @@ def handle_rm_error(func, path, exc_info):
def get_glusterd_workdir():
p = Popen(["gluster", "system::", "getwd"],
- stdout=PIPE, stderr=PIPE)
+ stdout=PIPE, stderr=PIPE, universal_newlines=True)
out, _ = p.communicate()