diff options
| author | Eric Windisch <eric@cloudscaling.com> | 2012-06-28 00:32:52 -0400 |
|---|---|---|
| committer | Eric Windisch <eric@cloudscaling.com> | 2012-07-12 14:02:47 -0400 |
| commit | c80bfb563626200f7587c7ca52433c59a303b469 (patch) | |
| tree | fa325e1157140e112da019e4315f110fb323a9bb /openstack | |
| parent | 7a3ab8ac15b2d73eafbe9eaf722e3a402c5102d6 (diff) | |
| download | oslo-c80bfb563626200f7587c7ca52433c59a303b469.tar.gz oslo-c80bfb563626200f7587c7ca52433c59a303b469.tar.xz oslo-c80bfb563626200f7587c7ca52433c59a303b469.zip | |
Fix missing gettextutils in several modules.
Fixes bug 1021453.
Change-Id: I05771a588746a0e43fec0078c5c7152dd9d33b9f
Diffstat (limited to 'openstack')
| -rw-r--r-- | openstack/common/extensions.py | 2 | ||||
| -rw-r--r-- | openstack/common/log.py | 1 | ||||
| -rw-r--r-- | openstack/common/notifier/api.py | 1 | ||||
| -rw-r--r-- | openstack/common/notifier/list_notifier.py | 1 | ||||
| -rw-r--r-- | openstack/common/notifier/rabbit_notifier.py | 1 | ||||
| -rw-r--r-- | openstack/common/policy.py | 1 | ||||
| -rw-r--r-- | openstack/common/rpc/amqp.py | 1 | ||||
| -rw-r--r-- | openstack/common/rpc/matchmaker.py | 1 | ||||
| -rw-r--r-- | openstack/common/utils.py | 1 | ||||
| -rw-r--r-- | openstack/common/wsgi.py | 1 |
10 files changed, 11 insertions, 0 deletions
diff --git a/openstack/common/extensions.py b/openstack/common/extensions.py index f2f5d81..742c4f2 100644 --- a/openstack/common/extensions.py +++ b/openstack/common/extensions.py @@ -25,8 +25,10 @@ import logging from lxml import etree from openstack.common import exception +from openstack.common.gettextutils import _ from openstack.common import wsgi + LOG = logging.getLogger('extensions') DEFAULT_XMLNS = "http://docs.openstack.org/" XMLNS_ATOM = "http://www.w3.org/2005/Atom" diff --git a/openstack/common/log.py b/openstack/common/log.py index 348f3ab..9e0ad7e 100644 --- a/openstack/common/log.py +++ b/openstack/common/log.py @@ -41,6 +41,7 @@ import sys import traceback from openstack.common import cfg +from openstack.common.gettextutils import _ from openstack.common import jsonutils from openstack.common import local from openstack.common import notifier diff --git a/openstack/common/notifier/api.py b/openstack/common/notifier/api.py index 45af4ed..f01d11e 100644 --- a/openstack/common/notifier/api.py +++ b/openstack/common/notifier/api.py @@ -18,6 +18,7 @@ import uuid from openstack.common import cfg from openstack.common import context +from openstack.common.gettextutils import _ from openstack.common import importutils from openstack.common import jsonutils from openstack.common import log as logging diff --git a/openstack/common/notifier/list_notifier.py b/openstack/common/notifier/list_notifier.py index cd7e6d5..41549df 100644 --- a/openstack/common/notifier/list_notifier.py +++ b/openstack/common/notifier/list_notifier.py @@ -14,6 +14,7 @@ # under the License. from openstack.common import cfg +from openstack.common.gettextutils import _ from openstack.common import importutils from openstack.common import log as logging diff --git a/openstack/common/notifier/rabbit_notifier.py b/openstack/common/notifier/rabbit_notifier.py index 14f0f91..69ca8bd 100644 --- a/openstack/common/notifier/rabbit_notifier.py +++ b/openstack/common/notifier/rabbit_notifier.py @@ -16,6 +16,7 @@ from openstack.common import cfg from openstack.common import context as req_context +from openstack.common.gettextutils import _ from openstack.common import log as logging from openstack.common import rpc diff --git a/openstack/common/policy.py b/openstack/common/policy.py index 52cfa2b..7d6eff9 100644 --- a/openstack/common/policy.py +++ b/openstack/common/policy.py @@ -21,6 +21,7 @@ import logging import urllib import urllib2 +from openstack.common.gettextutils import _ from openstack.common import jsonutils diff --git a/openstack/common/rpc/amqp.py b/openstack/common/rpc/amqp.py index 9f9cd54..880d3b3 100644 --- a/openstack/common/rpc/amqp.py +++ b/openstack/common/rpc/amqp.py @@ -36,6 +36,7 @@ from eventlet import semaphore from openstack.common import excutils from openstack.common import local +from openstack.common.gettextutils import _ from openstack.common.rpc import common as rpc_common diff --git a/openstack/common/rpc/matchmaker.py b/openstack/common/rpc/matchmaker.py index 34a9ae4..2791ac2 100644 --- a/openstack/common/rpc/matchmaker.py +++ b/openstack/common/rpc/matchmaker.py @@ -24,6 +24,7 @@ import json import logging from openstack.common import cfg +from openstack.common.gettextutils import _ matchmaker_opts = [ diff --git a/openstack/common/utils.py b/openstack/common/utils.py index e782e89..1bc177a 100644 --- a/openstack/common/utils.py +++ b/openstack/common/utils.py @@ -28,6 +28,7 @@ from eventlet import greenthread from eventlet.green import subprocess from openstack.common import exception +from openstack.common.gettextutils import _ LOG = logging.getLogger(__name__) diff --git a/openstack/common/wsgi.py b/openstack/common/wsgi.py index 416fe09..d1e621a 100644 --- a/openstack/common/wsgi.py +++ b/openstack/common/wsgi.py @@ -33,6 +33,7 @@ from xml.dom import minidom from xml.parsers import expat from openstack.common import exception +from openstack.common.gettextutils import _ from openstack.common import jsonutils |
