aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-02-07 09:57:27 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-03-20 15:57:19 +0000
commitc92d0e317643d68b519a2a5df0892c6cadbf8c3d (patch)
treebc2ff5d0b1e4a03cac14875f5add85bedf839bb3
parente87483cd2d917dc2a88c6b3f1697ca94c9bd6cf8 (diff)
downloadsos-c92d0e317643d68b519a2a5df0892c6cadbf8c3d.tar.gz
[gluster] remove noop assignment
last_line redefined before any further refrence Relevant to: #1559 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/gluster.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/sos/plugins/gluster.py b/sos/plugins/gluster.py
index 30738d95..abf0b402 100644
--- a/sos/plugins/gluster.py
+++ b/sos/plugins/gluster.py
@@ -56,7 +56,6 @@ class Gluster(Plugin, RedHatPlugin):
statedump_entries = os.listdir(name_dir)
for statedump_file in statedump_entries:
statedumps_present = statedumps_present+1
- last_line = 'tmp'
ret = -1
while ret == -1:
last_line = file(