summaryrefslogtreecommitdiff
path: root/nova/ipv6
diff options
context:
space:
mode:
authorDavanum Srinivas <dims@linux.vnet.ibm.com>2014-07-11 21:03:15 -0400
committerDavanum Srinivas <dims@linux.vnet.ibm.com>2014-07-18 14:28:09 -0400
commit826aed0ec7e59d52d515a86569b6e23b08c6c072 (patch)
treec40caa265d563310db5fb64d2247486cfa732e81 /nova/ipv6
parentff756a0184806a30902d5e68a8f30345b54a6ed1 (diff)
downloadnova-826aed0ec7e59d52d515a86569b6e23b08c6c072.tar.gz
Use oslo.i18n
oslo.i18n provides the i18n functions that were provided by oslo-incubator's gettextutils module. Some tests that were using internal details of the library were removed. Change-Id: I44cfd5552e0dd86af21073419d31622f5fdb28e0
Diffstat (limited to 'nova/ipv6')
-rw-r--r--nova/ipv6/account_identifier.py2
-rw-r--r--nova/ipv6/rfc2462.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/nova/ipv6/account_identifier.py b/nova/ipv6/account_identifier.py
index db9c658968..23d77c7f95 100644
--- a/nova/ipv6/account_identifier.py
+++ b/nova/ipv6/account_identifier.py
@@ -21,7 +21,7 @@ import hashlib
import netaddr
-from nova.openstack.common.gettextutils import _
+from nova.i18n import _
def to_global(prefix, mac, project_id):
diff --git a/nova/ipv6/rfc2462.py b/nova/ipv6/rfc2462.py
index cda35b0a45..92746e5a07 100644
--- a/nova/ipv6/rfc2462.py
+++ b/nova/ipv6/rfc2462.py
@@ -19,7 +19,7 @@
import netaddr
-from nova.openstack.common.gettextutils import _
+from nova.i18n import _
def to_global(prefix, mac, project_id):