diff options
author | Dan Prince <dprince@redhat.com> | 2013-01-14 12:54:43 -0500 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2013-01-14 12:54:43 -0500 |
commit | 33b12d3c18a35f85785227267347f9ac7f7273a4 (patch) | |
tree | 5f512d33ae60ced0002a4d691a8d1430688b2309 /tools | |
parent | d74668fbedc29aa4b7868fd3fb8a28d326f43d52 (diff) | |
download | oslo-33b12d3c18a35f85785227267347f9ac7f7273a4.tar.gz oslo-33b12d3c18a35f85785227267347f9ac7f7273a4.tar.xz oslo-33b12d3c18a35f85785227267347f9ac7f7273a4.zip |
Implement importutils.try_import.
Adds a new (simple) importutils.try_import function which
can return a module name or a default (by default this is None).
This should help clean up some of our
try:
import foo
except...
blocks in modules.
This commit also drops the dependency on python-extras which is
no longer needed.
Fixes LP Bug #1099501.
Change-Id: I8591f79983bdad67a50d1aaae6dce8428dfce084
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pip-requires | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/pip-requires b/tools/pip-requires index 2d1b94e..002f989 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -1,7 +1,6 @@ PasteDeploy==1.5.0 WebOb==1.2.3 eventlet -extras greenlet>=0.3.1 lxml routes==1.12.3 |