From 12507aeef9be103e4393451233da7ba8a8ebb2ee Mon Sep 17 00:00:00 2001 From: darshan n Date: Thu, 5 Feb 2015 16:36:13 +0530 Subject: PEP8: Fixed pep8 issues in glusternagios/glustercli.py Change-Id: I52b568bc450fcdf546466db29c49ad6a8a2eda67 Signed-off-by: darshan n Reviewed-on: http://review.gluster.org/9592 Reviewed-by: Sahina Bose --- glusternagios/glustercli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'glusternagios/glustercli.py') diff --git a/glusternagios/glustercli.py b/glusternagios/glustercli.py index 809dced..abbd3b8 100755 --- a/glusternagios/glustercli.py +++ b/glusternagios/glustercli.py @@ -566,10 +566,10 @@ def _parseVolumeGeoRepStatus(volumeName, out): slaves[slave]['detail'] += "NOTE:Multiple slave session aggregated" if count_dict['faulty'] > 0: if replicaCount > 1: - # georep cli status does not give the node name in the same way as - # gluster volume info - there's no way to compare and get the - # subvolume. So if fault+passive > than num of primary bricks, - # moving to faulty + # georep cli status does not give the node name in the same + # way as gluster volume info - there's no way to compare and + # get the subvolume. So if fault+passive > than num of primary + # bricks, moving to faulty if (count_dict['faulty'] + count_dict['passive'] > count_dict['nodecount']/replicaCount): slaves[slave]['status'] = GeoRepStatus.FAULTY -- cgit