summaryrefslogtreecommitdiff
path: root/nova/crypto.py
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/crypto.py
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/crypto.py')
-rw-r--r--nova/crypto.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/crypto.py b/nova/crypto.py
index b312aca2df..ca196cc547 100644
--- a/nova/crypto.py
+++ b/nova/crypto.py
@@ -40,6 +40,7 @@ from nova import db
from nova import exception
from nova.openstack.common import excutils
from nova.openstack.common import fileutils
+from nova.openstack.common.gettextutils import _
from nova.openstack.common import log as logging
from nova.openstack.common import processutils
from nova.openstack.common import timeutils