Fix gettext wrong argument error in py34

Closes-Bug: #1550202
Change-Id: I468bef7a8c0a9fa93576744e7869dfa5f2569fa0
This commit is contained in:
gong yong sheng 2016-02-26 16:43:16 +08:00
parent 281312fae4
commit 2eb8dfdfdc

View File

@ -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')