summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStefan Hajnoczi2017-08-25 17:57:30 +0200
committerStefan Hajnoczi2017-08-30 13:02:11 +0200
commit47e1cb1f0a130baa438d895eff5d05004c9a9aa2 (patch)
tree26166b1f74835584f7a3d82a334a1b6fa80f299d /tests
parentmisc: Remove unused Error variables (diff)
downloadqemu-47e1cb1f0a130baa438d895eff5d05004c9a9aa2.tar.gz
qemu-47e1cb1f0a130baa438d895eff5d05004c9a9aa2.tar.xz
qemu-47e1cb1f0a130baa438d895eff5d05004c9a9aa2.zip
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 'tests')
0 files changed, 0 insertions, 0 deletions