summaryrefslogtreecommitdiff
path: root/ironic/common/policy.py
diff options
context:
space:
mode:
authorGhe Rivero <ghe.rivero@hp.com>2014-07-07 10:05:25 +0000
committerGhe Rivero <ghe.rivero@hp.com>2014-07-16 21:53:05 +0000
commit61533bbe247af2a3f5d7fbc28b25a29ddd86e4c3 (patch)
tree1ec42f64c20cdcf75a7708ae752775c34e92ae87 /ironic/common/policy.py
parentc87cbe62ec5efd166392ba777e63a690e11ebdb7 (diff)
downloadironic-61533bbe247af2a3f5d7fbc28b25a29ddd86e4c3.tar.gz
oslo.i18n migration
Switch ironic to use oslo.i18n. A new i18n module has been added under ironic with translation globals and imports the necessary functions from oslo.i18n. gettextutils module is still needed in the nova ironic driver. Change-Id: I682228e158132c628166e4d1e334c4003249d112
Diffstat (limited to 'ironic/common/policy.py')
-rw-r--r--ironic/common/policy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/common/policy.py b/ironic/common/policy.py
index 66e5a1d33..88bc97b64 100644
--- a/ironic/common/policy.py
+++ b/ironic/common/policy.py
@@ -20,8 +20,8 @@ import os.path
from oslo.config import cfg
from ironic.common import exception
+from ironic.common.i18n import _
from ironic.common import utils
-from ironic.openstack.common.gettextutils import _
from ironic.openstack.common import policy