diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-03-28 11:56:01 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-03-28 11:56:01 -0400 |
commit | d6e8ddfcca4c0c61643bca5e33113b414077306a (patch) | |
tree | 54da4f3213689b4601985fa24b726ea0a0947df4 /meta-openstack/recipes-devtools | |
parent | 4bd68f289df9690c43c3484bdd464ed7411e051b (diff) | |
download | meta-cloud-services-d6e8ddfcca4c0c61643bca5e33113b414077306a.tar.gz |
python-nova: drop python-argparse dependency
argparse is part of python 2.7+, so there's no need to install the .egg
version of argparse.
Nova was pulling in this requirement, which doesn't cause a problem until
another python app includes both argparse and the built in one.
That results in the following:
UserWarning: Module argparse was already imported from /usr/lib/python2.7/argparse.pyc, but /usr/lib/python2.7/site-packages is being added to sys.path
So we drop the argparse dependency, everything still works and we no longer
have the warning.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova_git.bb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 0a70aca..18e69aa 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb | |||
@@ -211,7 +211,6 @@ DEPENDS += " \ | |||
211 | RDEPENDS_${PN} = " libvirt \ | 211 | RDEPENDS_${PN} = " libvirt \ |
212 | python-modules \ | 212 | python-modules \ |
213 | python-misc \ | 213 | python-misc \ |
214 | python-argparse \ | ||
215 | python-amqplib \ | 214 | python-amqplib \ |
216 | python-anyjson \ | 215 | python-anyjson \ |
217 | python-babel \ | 216 | python-babel \ |