fence-agents: master - [cleanup] Remove transfer script used in transition 3.x->4.x

Marek GrĂ¡c marx at fedoraproject.org
Wed Apr 9 14:50:08 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=f7b40acb66cd75d459331223d69e006bc2da24ec
Commit:        f7b40acb66cd75d459331223d69e006bc2da24ec
Parent:        6eaabc97fd4265c94f22640ddad3b97b0416a632
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Mon Mar 31 14:50:20 2014 +0200
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Wed Apr 9 16:30:19 2014 +0200

[cleanup] Remove transfer script used in transition 3.x->4.x

---
 fence/agents/lib/transfer.py |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

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


More information about the cluster-commits mailing list