Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=28742ec66... Commit: 28742ec6688175c8af15475e5bc8333337bce494 Parent: 24226ad4008ec1c0aceaa8f3612b1114516d6847 Author: Marek 'marx' Grac mgrac@redhat.com AuthorDate: Wed Apr 9 17:11:39 2014 +0200 Committer: Marek 'marx' Grac mgrac@redhat.com CommitterDate: Wed Apr 9 17:11:39 2014 +0200
[cleanup] fence_wti: Fix variables that can be used before assignement
--- fence/agents/wti/fence_wti.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/fence/agents/wti/fence_wti.py b/fence/agents/wti/fence_wti.py index 34d85a1..9d49854 100644 --- a/fence/agents/wti/fence_wti.py +++ b/fence/agents/wti/fence_wti.py @@ -92,6 +92,10 @@ def get_plug_group_status(conn, options):
outlets = {} line_index = 0 + status_index = -1 + plug_index = -1 + name_index = -1 + lines = listing.splitlines() while line_index < len(lines) and line_index >= 0: line = lines[line_index]
cluster-commits@lists.fedorahosted.org