diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-07-20 14:23:08 +0100 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2016-07-22 13:23:13 +0530 |
commit | 6f7a4a81ce6cc75a1b3b8f4dddaedf26dc04b705 (patch) | |
tree | 0d37335cca320b9f0eed1a8dd1e10188615750a6 /scripts | |
parent | 42da5550d6d44ea0a5e36925deba1e1b13041f42 (diff) | |
download | qemu-6f7a4a81ce6cc75a1b3b8f4dddaedf26dc04b705.zip qemu-6f7a4a81ce6cc75a1b3b8f4dddaedf26dc04b705.tar.gz qemu-6f7a4a81ce6cc75a1b3b8f4dddaedf26dc04b705.tar.bz2 |
scripts: add __init__.py file to scripts/qmp/
When searching for modules to load, python will ignore any
sub-directory which does not contain __init__.py. This means
that both scripts and scripts/qmp/ have to be explicitly added
to the python path. By adding a __init__.py file to scripts/qmp,
we only need add scripts/ to the python path and can then simply
do 'from qmp import qmp' to load scripts/qmp/qmp.py.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1469020993-29426-2-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qmp/__init__.py | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/scripts/qmp/__init__.py b/scripts/qmp/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/scripts/qmp/__init__.py |