Blame SOURCES/bz1102727-2-duplicate_getopt.patch

44709c
From 4d8159cadc7e7d0acca5d3d27be1c281828a4def Mon Sep 17 00:00:00 2001
44709c
From: Marek 'marx' Grac <mgrac@redhat.com>
44709c
Date: Wed, 7 Jan 2015 14:40:07 +0100
44709c
Subject: [PATCH 4/6] fence_mpath: Fix duplicate "getopt" which was not
44709c
 propagated anywhere
44709c
44709c
Found by integrated tests.
44709c
---
44709c
 fence/agents/mpath/fence_mpath.py | 4 ++--
44709c
 1 file changed, 2 insertions(+), 2 deletions(-)
44709c
44709c
diff --git a/fence/agents/mpath/fence_mpath.py b/fence/agents/mpath/fence_mpath.py
44709c
index 8a4811c..1dc3a20 100644
44709c
--- a/fence/agents/mpath/fence_mpath.py
44709c
+++ b/fence/agents/mpath/fence_mpath.py
44709c
@@ -181,7 +181,7 @@ be removed from the device(s).",
44709c
 		"order": 1
44709c
 	}
44709c
 	all_opt["mpathpersist_path"] = {
44709c
-		"getopt" : "X:",
44709c
+		"getopt" : ":",
44709c
 		"longopt" : "mpathpersist-path",
44709c
 		"help" : "--mpathpersist-path=[path]     Path to mpathpersist binary",
44709c
 		"required" : "0",
44709c
@@ -190,7 +190,7 @@ be removed from the device(s).",
44709c
 		"order": 200
44709c
 	}
44709c
 	all_opt["store_path"] = {
44709c
-		"getopt" : "X:",
44709c
+		"getopt" : ":",
44709c
 		"longopt" : "store-path",
44709c
 		"help" : "--store-path=[path]            Path to directory containing cached keys",
44709c
 		"required" : "0",
44709c
-- 
44709c
1.9.3
44709c