summaryrefslogtreecommitdiff
path: root/ironic/dhcp
diff options
context:
space:
mode:
authorVladyslav Drok <vdrok@mirantis.com>2014-08-22 15:26:12 +0300
committerJim Rollenhagen <jim@jimrollenhagen.com>2014-08-29 15:36:28 -0700
commit39a5a507bf1335ded27d2ce14991556c34e4fd91 (patch)
tree17616478cb0c31e9a2789275b898682ed75926e3 /ironic/dhcp
parent49877f6bf78de5eb21b5f454c0d380d79885201d (diff)
downloadironic-39a5a507bf1335ded27d2ce14991556c34e4fd91.tar.gz
Remove gettextutils _ injection
Now that ironic supports oslo.i18n, using the install function to inject _ into the builtin has been deprecated. New i18n common module used instead. In one module _ was imported from gettextutils, now also changed to i18n import. Closes-bug: #1346406 Change-Id: I672a975d479991982c24031e834a26e2c2811890
Diffstat (limited to 'ironic/dhcp')
-rw-r--r--ironic/dhcp/neutron.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ironic/dhcp/neutron.py b/ironic/dhcp/neutron.py
index d94028116..e54066f66 100644
--- a/ironic/dhcp/neutron.py
+++ b/ironic/dhcp/neutron.py
@@ -22,6 +22,7 @@ from oslo.config import cfg
from ironic.common import exception
from ironic.common import i18n
+from ironic.common.i18n import _
from ironic.common import keystone
from ironic.common import network
from ironic.dhcp import base