[GRASS-git] [OSGeo/grass] c3be21: Py2/Py3 compat: Use "gettext.install(..., unicode=...

pmav99 noreply at github.com
Thu May 30 18:51:51 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: c3be2125644f61f219b908047b3c785b9da9a535
      https://github.com/OSGeo/grass/commit/c3be2125644f61f219b908047b3c785b9da9a535
  Author: Panos Mavrogiorgos <pmav99 at gmail.com>
  Date:   2019-05-30 (Thu, 30 May 2019)

  Changed paths:
    M lib/python/__init__.py

  Log Message:
  -----------
  Py2/Py3 compat: Use "gettext.install(..., unicode=True)" in Python 2.

`unicode` is no longer a valid keyword for `gettext.install()` in Python 3
but we need it on Python 2.

This is in continuation of https://trac.osgeo.org/grass/changeset/74307
which was a fix for: https://trac.osgeo.org/grass/ticket/3790

Fixes https://trac.osgeo.org/grass/ticket/3838




More information about the grass-commit mailing list