diff options
Diffstat (limited to 'glustolibs-io')
-rwxr-xr-x[-rw-r--r--] | glustolibs-io/glustolibs/io/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glustolibs-io/glustolibs/io/utils.py b/glustolibs-io/glustolibs/io/utils.py index 8b9a9e196..8584e2aac 100644..100755 --- a/glustolibs-io/glustolibs/io/utils.py +++ b/glustolibs-io/glustolibs/io/utils.py @@ -149,7 +149,7 @@ def list_all_files_and_dirs_mounts(mounts): mounts = [mounts] ignore_dirs_list = [".trashcan"] - ignore_dirs = "\|".join(ignore_dirs_list) + ignore_dirs = r"\|".join(ignore_dirs_list) g.log.info("Start Listing mounts files and dirs") all_mounts_procs = [] @@ -349,7 +349,7 @@ def cleanup_mounts(mounts): # Check if mount points are empty ignore_dirs_list = [".trashcan"] - ignore_dirs = "\|".join(ignore_dirs_list) + ignore_dirs = r"\|".join(ignore_dirs_list) all_mounts_procs = [] for mount_obj in mounts: cmd = ("find %s -mindepth 1 | grep -ve '%s'" % |