Blame SOURCES/bz1018780-fence_vmware_soap_fix_option_parsing_from_stdin.patch

182b9e
commit f1ee9c18423a1c65ccab4650601bd0146f200ef3
182b9e
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
182b9e
Date:   Thu Feb 27 08:27:19 2014 +0100
182b9e
182b9e
    fence_vmware_soap: fix short/long option parsing traceback
182b9e
    
182b9e
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
182b9e
182b9e
diff --git a/fence/agents/vmware_soap/fence_vmware_soap.py b/fence/agents/vmware_soap/fence_vmware_soap.py
182b9e
index c73a1d6..bbac1c5 100644
182b9e
--- a/fence/agents/vmware_soap/fence_vmware_soap.py
182b9e
+++ b/fence/agents/vmware_soap/fence_vmware_soap.py
182b9e
@@ -16,7 +16,7 @@ BUILD_DATE="April, 2011"
182b9e
 #END_VERSION_GENERATION
182b9e
 
182b9e
 def soap_login(options):
182b9e
-	if options["-o"] in ["off", "reboot"]:
182b9e
+	if options["--action"] in ["off", "reboot"]:
182b9e
 		time.sleep(int(options["--delay"]))
182b9e
 
182b9e
 	if options.has_key("--ssl"):