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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user