diff options
author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-06-22 11:33:31 -0400 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-06-22 11:35:08 -0400 |
commit | a3b222f52c90cf24ae4829d9c7aa3fd096b76c28 (patch) | |
tree | 96d58af070dacc42fa3feb9769e8a5c94a80bb0a /openstack/common/rpc | |
parent | 510fc472728f5746d4ef8346a874699235f58fa3 (diff) | |
download | oslo-a3b222f52c90cf24ae4829d9c7aa3fd096b76c28.tar.gz oslo-a3b222f52c90cf24ae4829d9c7aa3fd096b76c28.tar.xz oslo-a3b222f52c90cf24ae4829d9c7aa3fd096b76c28.zip |
Add missing gettextutils imports
This change fixes a problem we found in the ceilometer
test suite under Python 2.6. The name '_' is not defined
globally, so nose reports import errors trying to scan
the modules changed here.
Change-Id: Ie94cc4effba457342e25f991cf481fc40a1d8cf3
Diffstat (limited to 'openstack/common/rpc')
-rw-r--r-- | openstack/common/rpc/common.py | 1 | ||||
-rw-r--r-- | openstack/common/rpc/impl_kombu.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/openstack/common/rpc/common.py b/openstack/common/rpc/common.py index a724ea2..1f421f3 100644 --- a/openstack/common/rpc/common.py +++ b/openstack/common/rpc/common.py @@ -26,6 +26,7 @@ from openstack.common import cfg from openstack.common import importutils from openstack.common import jsonutils from openstack.common import local +from openstack.common.gettextutils import _ LOG = logging.getLogger(__name__) diff --git a/openstack/common/rpc/impl_kombu.py b/openstack/common/rpc/impl_kombu.py index b78df37..66cf0a9 100644 --- a/openstack/common/rpc/impl_kombu.py +++ b/openstack/common/rpc/impl_kombu.py @@ -30,6 +30,7 @@ import kombu.entity import kombu.messaging from openstack.common import cfg +from openstack.common.gettextutils import _ from openstack.common.rpc import amqp as rpc_amqp from openstack.common.rpc import common as rpc_common |