summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/peer_ops.py
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2016-11-16 17:36:15 +0530
committerJonathan Holloway <jholloway@redhat.com>2016-12-12 08:01:33 -0800
commit3070312c13e02cace3041d3429b0c31fc10b73ee (patch)
tree15b202c91c00fd93ab5559bced17b2e7fa27127f /glustolibs-gluster/glustolibs/gluster/peer_ops.py
parentb7aea27f6662fd5b0344c6dbffcf2b9a86c1f8cc (diff)
Clean up pyflakes and pep8 errors
Change-Id: Ibdd092118d3bb912716c46fd278ef3c680a6e742 Signed-off-by: Nigel Babu <nigelb@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/peer_ops.py')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/peer_ops.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/peer_ops.py b/glustolibs-gluster/glustolibs/gluster/peer_ops.py
index 9f74bb7c7..e4d3e6ec3 100644
--- a/glustolibs-gluster/glustolibs/gluster/peer_ops.py
+++ b/glustolibs-gluster/glustolibs/gluster/peer_ops.py
@@ -375,7 +375,6 @@ def is_peer_connected(mnode, servers):
if mnode in servers:
servers.remove(mnode)
- peer_connected = True
peer_status_list = get_peer_status(mnode)
if peer_status_list is None:
g.log.error("Failed to parse the peer status. Hence failed to "