summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/glusterfile.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/glusterfile.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/glusterfile.py')
-rwxr-xr-x[-rw-r--r--]glustolibs-gluster/glustolibs/gluster/glusterfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/glusterfile.py b/glustolibs-gluster/glustolibs/gluster/glusterfile.py
index 9b9b57f0c..2f1c45e7b 100644..100755
--- a/glustolibs-gluster/glustolibs/gluster/glusterfile.py
+++ b/glustolibs-gluster/glustolibs/gluster/glusterfile.py
@@ -366,7 +366,7 @@ def get_pathinfo(host, fqpath):
"""
pathinfo = {}
pathinfo['raw'] = get_fattr(host, fqpath, 'trusted.glusterfs.pathinfo')
- pathinfo['brickdir_paths'] = re.findall(".*?POSIX.*?:(\S+)\>",
+ pathinfo['brickdir_paths'] = re.findall(r".*?POSIX.*?:(\S+)\>",
pathinfo['raw'])
return pathinfo