diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-09-22 12:05:18 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-09-27 11:38:30 -0700 |
commit | 6c88547dd0f75a29e6d1c0cd3c76d9678fa4752f (patch) | |
tree | c292e955a19f20a64f3c8595a01f85556660e06c /xenserver/README | |
parent | 484185ec4e1329bbc42cf0c0d70f24c732b748f8 (diff) |
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.
Diffstat (limited to 'xenserver/README')
-rw-r--r-- | xenserver/README | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/xenserver/README b/xenserver/README index 60524de4..0e2affa3 100644 --- a/xenserver/README +++ b/xenserver/README @@ -77,7 +77,7 @@ files are: usr_share_openvswitch_scripts_sysconfig.template - Template for Open vSwitch's /etc/sysconfig/openvswitch + Template for Open vSwitch's /etc/sysconfig/openvswitch configuration file. usr_share_openvswitch_scripts_xen-bugtool-tc-class-show @@ -89,15 +89,9 @@ files are: usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py xsconsole plugin to configure the pool-wide configuration keys - used to control Open vSwitch when integrated with Citrix + used to control Open vSwitch when integrated with Citrix management tools. - uuid.py - - This is uuid.py from Python 2.5. It is installed into the - Open vSwitch RPM because XenServer uses Python 2.4, which does - not have uuid.py. - To install, build the Open vSwitch RPM with a command like this: rpmbuild -D "openvswitch_version $full_version" \ |