summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/bitrot_ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/bitrot_ops.py')
-rwxr-xr-x[-rw-r--r--]glustolibs-gluster/glustolibs/gluster/bitrot_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/bitrot_ops.py b/glustolibs-gluster/glustolibs/gluster/bitrot_ops.py
index cab205cbb..bbfcd93a4 100644..100755
--- a/glustolibs-gluster/glustolibs/gluster/bitrot_ops.py
+++ b/glustolibs-gluster/glustolibs/gluster/bitrot_ops.py
@@ -566,7 +566,7 @@ def get_scrub_status(mnode, volname):
temp_list = re.findall(regex, info, re.S)
corrupt_list = []
for node in temp_list:
- tmp_reg = ('Node: (\S+)\n.*Error count.*'
+ tmp_reg = (r'Node: (\S+)\n.*Error count.*'
'Corrupted object.*?:(.*)\n=.*')
m = re.search(tmp_reg, node, re.S)
if m is None: