[ovs-git] Open vSwitch: python: Backport argparse to older platforms. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Sep 27 18:40:09 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  6c88547dd0f75a29e6d1c0cd3c76d9678fa4752f (commit)
      from  484185ec4e1329bbc42cf0c0d70f24c732b748f8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6c88547dd0f75a29e6d1c0cd3c76d9678fa4752f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6c88547dd0f75a29e6d1c0cd3c76d9678fa4752f
Author: Ethan Jackson <ethan at nicira.com>
		
python: Backport argparse to older platforms.
		
Argparse has some convenient advantages over optparse including the
ability to handle optional arguments to flags.  It also supports
parsing arguments as well as options.

This patch copies argparse.py from Python 2.7 into a newly created
compat directory.  It made some very minor syntactic updates in the
process.  Platforms which have a Python version too old to include
argparse by default will have this compat version installed as a
workaround.


-----------------------------------------------------------------------

Summary of changes:
 COPYING                              |   52 +
 Makefile.am                          |    1 +
 debian/control                       |    2 +-
 debian/copyright.in                  |    9 +-
 python/compat/argparse.py            | 2350 ++++++++++++++++++++++++++++++++++
 python/compat/automake.mk            |    3 +
 {xenserver => python/compat}/uuid.py |    0
 rhel/openvswitch.spec.in             |    3 +-
 xenserver/README                     |   10 +-
 xenserver/automake.mk                |    3 +-
 xenserver/openvswitch-xen.spec       |    4 +-
 11 files changed, 2420 insertions(+), 17 deletions(-)
 create mode 100644 python/compat/argparse.py
 create mode 100644 python/compat/automake.mk
 rename {xenserver => python/compat}/uuid.py (100%)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list