summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/heal_libs.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/heal_libs.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/heal_libs.py')
-rwxr-xr-x[-rw-r--r--]glustolibs-gluster/glustolibs/gluster/heal_libs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/heal_libs.py b/glustolibs-gluster/glustolibs/gluster/heal_libs.py
index e71835d..e4f2b2f 100644..100755
--- a/glustolibs-gluster/glustolibs/gluster/heal_libs.py
+++ b/glustolibs-gluster/glustolibs/gluster/heal_libs.py
@@ -343,7 +343,7 @@ def get_self_heal_daemon_pid(nodes):
_rc = True
if isinstance(nodes, str):
nodes = [nodes]
- cmd = "pgrep -f glustershd | grep -v ^$$\$"
+ cmd = r"pgrep -f glustershd | grep -v ^$$\$"
g.log.info("Executing cmd: %s on node %s" % (cmd, nodes))
results = g.run_parallel(nodes, cmd)
for node in results: