fence-agents: master - [refactor] Fix issues according to pylint

Marek GrĂ¡c marx at fedoraproject.org
Wed Dec 3 15:20:40 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=7edde18e0de949c7c8b6780b934d3b843749687a
Commit:        7edde18e0de949c7c8b6780b934d3b843749687a
Parent:        7b4c83bcd0123d177725b7b8c72fbf811fdf01cd
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Wed Dec 3 15:57:32 2014 +0100
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Wed Dec 3 15:57:32 2014 +0100

[refactor] Fix issues according to pylint

---
 fence/agents/lib/fencing.py.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index cf72ed7..caa3e2d 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -624,7 +624,7 @@ def process_input(avail_opt):
 	#####
 	if len(sys.argv) > 1:
 		try:
-			obtained_opt = getopt.gnu_getopt(sys.argv[1:], getopt_string, longopt_list)[0]
+			entered_opt = getopt.gnu_getopt(sys.argv[1:], getopt_string, longopt_list)[0]
 		except getopt.GetoptError, error:
 			fail_usage("Parse error: " + error.msg)
 


More information about the cluster-commits mailing list