diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2017-08-25 16:57:30 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-08-30 12:02:11 +0100 |
commit | 47e1cb1f0a130baa438d895eff5d05004c9a9aa2 (patch) | |
tree | 26166b1f74835584f7a3d82a334a1b6fa80f299d /chardev/spice.c | |
parent | c3a8fe331eb4310e2d058f1c15a817d255840323 (diff) | |
download | qemu-47e1cb1f0a130baa438d895eff5d05004c9a9aa2.zip qemu-47e1cb1f0a130baa438d895eff5d05004c9a9aa2.tar.gz qemu-47e1cb1f0a130baa438d895eff5d05004c9a9aa2.tar.bz2 |
scripts: add argparse module for Python 2.6 compatibility
The minimum Python version supported by QEMU is 2.6. The argparse
standard library module was only added in Python 2.7. Many scripts
would like to use argparse because it supports command-line
sub-commands.
This patch adds argparse. See the top of argparse.py for details.
Suggested-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Message-id: 20170825155732.15665-2-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'chardev/spice.c')
0 files changed, 0 insertions, 0 deletions