Fix gettext wrong argument error in py34
Closes-Bug: #1550202 Change-Id: I468bef7a8c0a9fa93576744e7869dfa5f2569fa0
This commit is contained in:
parent
281312fae4
commit
2eb8dfdfdc
@ -17,5 +17,9 @@
|
|||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
|
|
||||||
|
import six
|
||||||
|
|
||||||
gettext.install('tacker', unicode=1)
|
if six.PY2:
|
||||||
|
gettext.install('tacker', unicode=1)
|
||||||
|
else:
|
||||||
|
gettext.install('tacker')
|
||||||
|
Loading…
Reference in New Issue
Block a user