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: Ided54e449c85046681e27c0a58641fdfe7f61a45
Signed-off-by: Kyle Mestery <mestery@mestery.com>
This commit is contained in:
Kyle Mestery
2015-07-28 16:31:15 +00:00
parent a983ed34f8
commit 9be5660c10
2 changed files with 6 additions and 2 deletions

View File

@@ -14,6 +14,10 @@
# under the License.
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]
envlist = py27,py33,py34,pep8,pylint
envlist = py27,py34,pep8,pylint
minversion = 1.6
skipsdist = True