fence-agents: master - [refactor] remove unused variable

Marek GrĂ¡c marx at fedoraproject.org
Thu Dec 4 22:02:32 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=e8b58b335409f4d576a114a7bf5f6ed69065c72f
Commit:        e8b58b335409f4d576a114a7bf5f6ed69065c72f
Parent:        ea652f979107bd9f5d7eef00f2652dff07224499
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Wed Dec 3 16:23:03 2014 +0100
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Thu Dec 4 22:59:19 2014 +0100

[refactor] remove unused variable

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

diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index abf5e37..b060de2 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -630,7 +630,6 @@ def process_input(avail_opt):
 
 		## Transform short getopt to long one which are used in fencing agents
 		#####
-		old_opt = entered_opt
 		opt = {}
 		for o in dict(entered_opt).keys():
 			if o.startswith("--"):


More information about the cluster-commits mailing list