From c10083a0166969ec5474fd8a92cfd35cf0536ffe Mon Sep 17 00:00:00 2001 From: Vitalii Koriakov Date: Fri, 26 Oct 2018 13:18:28 +0300 Subject: Using a raw strings for fixing flake warnings Change-Id: Ie134790ea05919a4b396657c11cbc3fc7a7fc529 Signed-off-by: Vitalii Koriakov --- glustolibs-gluster/glustolibs/gluster/bitrot_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 glustolibs-gluster/glustolibs/gluster/bitrot_ops.py (limited to 'glustolibs-gluster/glustolibs/gluster/bitrot_ops.py') diff --git a/glustolibs-gluster/glustolibs/gluster/bitrot_ops.py b/glustolibs-gluster/glustolibs/gluster/bitrot_ops.py old mode 100644 new mode 100755 index cab205cbb..bbfcd93a4 --- 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: -- cgit