summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/bitrot_ops.py
diff options
context:
space:
mode:
authorVitalii Koriakov <vkoriako@redhat.com>2018-10-26 13:18:28 +0300
committerNigel Babu <nigelb@redhat.com>2018-10-29 09:57:30 +0000
commitc10083a0166969ec5474fd8a92cfd35cf0536ffe (patch)
tree7dd33882f6581988f22a6ec8a0d5934d029b4605 /glustolibs-gluster/glustolibs/gluster/bitrot_ops.py
parent3d5274169cac77566e6fb1fb2a53d01ca4af1d13 (diff)
Using a raw strings for fixing flake warnings
Change-Id: Ie134790ea05919a4b396657c11cbc3fc7a7fc529 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
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: