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:
Kyle Mestery 2015-07-28 16:29:27 +00:00
parent 8de258e595
commit f3550a0e9c
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py27,py33,py34,pep8,pylint envlist = py27,py34,pep8,pylint
minversion = 1.6 minversion = 1.6
skipsdist = True skipsdist = True