glance/glance/db
Doug Hellmann d4371c5dff Remove reliance on import order of oslo.db mods
This change fixes a couple of import statements that rely on some import
order and a bit of magic to make the oslo.db.options module visible
under the oslo.db package without importing it explicitly.

The old version of the imports relies on Python's import machinery to
attach sub-modules to packages after import (see
http://paste.openstack.org/show/148711/). It is safer to explicitly
import the module we need, to ensure that we are not relying on
side-effects of importing other modules to configure global state for
the application.

Change-Id: Ia2772030915061ff373e7b7dc77f161146b56e59
2014-12-10 09:39:00 -05:00
..
registry No 4 byte unicode allowed in image parameters 2014-11-25 18:04:55 +04:00
simple No 4 byte unicode allowed in image parameters 2014-11-25 18:04:55 +04:00
sqlalchemy No 4 byte unicode allowed in image parameters 2014-11-25 18:04:55 +04:00
__init__.py Move from using _ builtin to using glance.i18n _ 2014-11-21 18:51:19 +00:00
metadata.py Remove reliance on import order of oslo.db mods 2014-12-10 09:39:00 -05:00
migration.py Remove reliance on import order of oslo.db mods 2014-12-10 09:39:00 -05:00