Python3 support improvement
Change-Id: I9d238ab53d57f73e6c218a8886707db235a1b384
This commit is contained in:
parent
d239299bb2
commit
a5fcedf202
@ -14,6 +14,10 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
|
import six
|
||||||
|
|
||||||
|
|
||||||
gettext.install('neutron', unicode=1)
|
if six.PY2:
|
||||||
|
gettext.install('neutron', unicode=1)
|
||||||
|
else:
|
||||||
|
gettext.install('neutron')
|
||||||
|
Loading…
Reference in New Issue
Block a user