summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason Kölker <jason@koelker.net>2012-03-09 17:29:41 -0600
committerJason Kölker <jason@koelker.net>2012-03-09 17:57:25 -0600
commite8a5ae2e5aab6b649b57d03f8a03af689d7e6b6e (patch)
treeae2b159622db93c21ba87ed7634fe6d25e76e8ea /tests
parent96e8e38ed9c8ed03b5c0e95055b39d5759ed6b9d (diff)
downloadoslo-e8a5ae2e5aab6b649b57d03f8a03af689d7e6b6e.tar.gz
oslo-e8a5ae2e5aab6b649b57d03f8a03af689d7e6b6e.tar.xz
oslo-e8a5ae2e5aab6b649b57d03f8a03af689d7e6b6e.zip
Import cfg module directly if not in path
If openstack.common is not installed, but another module has declared the openstack namespace an ImportError is thrown since the common doesnt exist in the openstack namespace. This falls back to importing cfg directly from ./openstack/common/cfg.py. Also ensures that openstack/__init__.py exists in the destination * Fixes LP951197 Change-Id: I88c26fb7cc1aed97e66b068e4f0562b1f00b2b29
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions