[GRASS-git] [OSGeo/grass] 2378fb: avoid using deprecated locale.getdefaultlocale()

Ondrej Pesek noreply at github.com
Sat Sep 17 01:35:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 2378fbe8b6206a6328f57ba39ef69e04c244f18f
      https://github.com/OSGeo/grass/commit/2378fbe8b6206a6328f57ba39ef69e04c244f18f
  Author: Ondrej Pesek <pesej.ondrek at gmail.com>
  Date:   2022-09-17 (Sat, 17 Sep 2022)

  Changed paths:
    M gui/wxpython/core/gcmd.py
    M gui/wxpython/core/gconsole.py
    M gui/wxpython/gui_core/forms.py
    M gui/wxpython/gui_core/ghelp.py
    M gui/wxpython/rlisetup/frame.py
    M lib/init/grass.py
    M python/grass/gunittest/multirunner.py
    M python/grass/script/utils.py
    M utils/mkhtml.py

  Log Message:
  -----------
  avoid using deprecated locale.getdefaultlocale()

* fix #2538
* Use getencoding() where only encoding is needed; getlocale() otherwise




More information about the grass-commit mailing list