]> git.proxmox.com Git - fence-agents-pve.git/blame - debian/patches/fix-rh-bug-999146-fencing-snmp-py.patch
fix Error in fencing_snmp.py on line 73
[fence-agents-pve.git] / debian / patches / fix-rh-bug-999146-fencing-snmp-py.patch
CommitLineData
f5de5b7f
DM
1Index: new/fence/agents/lib/fencing_snmp.py.py
2===================================================================
3--- new.orig/fence/agents/lib/fencing_snmp.py.py 2013-03-15 08:44:49.000000000 +0100
4+++ new/fence/agents/lib/fencing_snmp.py.py 2013-08-22 08:51:01.000000000 +0200
5@@ -70,7 +70,7 @@
6 ('snmp-priv-passwd','X'),('password','A'),('username','u'))
7 for item in mapping_v3:
8 if (self.options.has_key("--"+item[0])):
9- cmd += " -%s '%s'"% (item[1], self.quote_for_run(self.options["--" + item[1]]))
10+ cmd += " -%s '%s'"% (item[1], self.quote_for_run(self.options["--" + item[0]]))
11
12 force_ipvx = ""
13