summaryrefslogtreecommitdiff
path: root/nova/notifications.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/notifications.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/notifications.py')
-rw-r--r--nova/notifications.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/notifications.py b/nova/notifications.py
index ebd30478c1..8331cc3760 100644
--- a/nova/notifications.py
+++ b/nova/notifications.py
@@ -30,6 +30,7 @@ from nova.image import glance
from nova import network
from nova.network import model as network_model
from nova.openstack.common import excutils
+from nova.openstack.common.gettextutils import _
from nova.openstack.common import log
from nova.openstack.common.notifier import api as notifier_api
from nova.openstack.common import timeutils