py34: Fix usage of gettext.install
This needed to be updated to get py34 to work. In addition, remove the py33 target, as it's not used anymore in infra. Change-Id: I60bbe8786cad72a8ff89cf7bc33853bf259b56cd Signed-off-by: Kyle Mestery <mestery@mestery.com>
This commit is contained in:
parent
8de258e595
commit
f3550a0e9c
@ -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