From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek 'marx' Grac Date: Wed, 2 Apr 2014 13:52:22 +0200 Subject: [Cluster-devel] [PATCH 14/15] [cleanup] Remove transfer script used in transition 3.x->4.x In-Reply-To: <1396439543-29533-1-git-send-email-mgrac@redhat.com> References: <1396439543-29533-1-git-send-email-mgrac@redhat.com> Message-ID: <1396439543-29533-14-git-send-email-mgrac@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit --- 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