[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH 14/15] [cleanup] Remove transfer script used in transition 3.x->4.x



---
 fence/agents/lib/transfer.py | 16 ----------------
 1 file changed, 16 deletions(-)
 delete mode 100755 fence/agents/lib/transfer.py

diff --git a/fence/agents/lib/transfer.py b/fence/agents/lib/transfer.py
deleted file mode 100755
index b7a39db..0000000
--- a/fence/agents/lib/transfer.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/python -tt
-
-from fencing import *
-
-def main():
-	for key in all_opt.keys():
-		if all_opt[key].has_key("getopt") and all_opt[key].has_key("longopt"):
-			print "s/options\[\"-" + all_opt[key]["getopt"].rstrip(":") + "\"\]/options[\"--" + \
-				all_opt[key]["longopt"] + "\"]/g"
-			print "s/options.has_key(\"-" + all_opt[key]["getopt"].rstrip(":") + "\")/options.has_key(" + \
-				"\"--" + all_opt[key]["longopt"] + "\")/g"
-
-
-
-if __name__ == "__main__":
-	main()
\ No newline at end of file
-- 
1.9.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]