Gitweb:
http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=f1ee9c...
Commit: f1ee9c18423a1c65ccab4650601bd0146f200ef3
Parent: ed6ed4c4f8e5142457a2fabb4385d7d75209196d
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Thu Feb 27 08:27:19 2014 +0100
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Thu Feb 27 08:27:19 2014 +0100
fence_vmware_soap: fix short/long option parsing traceback
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
fence/agents/vmware_soap/fence_vmware_soap.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/vmware_soap/fence_vmware_soap.py
b/fence/agents/vmware_soap/fence_vmware_soap.py
index c73a1d6..bbac1c5 100644
--- a/fence/agents/vmware_soap/fence_vmware_soap.py
+++ b/fence/agents/vmware_soap/fence_vmware_soap.py
@@ -16,7 +16,7 @@ BUILD_DATE="April, 2011"
#END_VERSION_GENERATION
def soap_login(options):
- if options["-o"] in ["off", "reboot"]:
+ if options["--action"] in ["off", "reboot"]:
time.sleep(int(options["--delay"]))
if options.has_key("--ssl"):