summaryrefslogtreecommitdiff
path: root/nova/consoleauth
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-06-13 16:12:23 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-07-26 07:31:17 -0700
commitcd9d8e45c6b8a747069d0cec2c1ff0360ebe6d73 (patch)
tree34a18abc1b5b0e4e151333a9af6cff697c1c4578 /nova/consoleauth
parent84b730b70f362f195728f50361ab54513efefe66 (diff)
downloadnova-cd9d8e45c6b8a747069d0cec2c1ff0360ebe6d73.tar.gz
Remove the monkey patching of _ into the builtins
Previous _ was monkey patched into builtins whenever certain modules were imported. This removes that and simply imports it when it is needed. Change-Id: I0af2c6d8a230e94440d655d13cab9107ac20d13c
Diffstat (limited to 'nova/consoleauth')
-rw-r--r--nova/consoleauth/manager.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/consoleauth/manager.py b/nova/consoleauth/manager.py
index c3396b005e..021914b8fe 100644
--- a/nova/consoleauth/manager.py
+++ b/nova/consoleauth/manager.py
@@ -25,6 +25,7 @@ from oslo.config import cfg
from nova.cells import rpcapi as cells_rpcapi
from nova.compute import rpcapi as compute_rpcapi
from nova import manager
+from nova.openstack.common.gettextutils import _
from nova.openstack.common import jsonutils
from nova.openstack.common import log as logging
from nova.openstack.common import memorycache