[GRASS-git] [OSGeo/grass] 2440ec: wxGUI: Remove calls of unicode function which don'...
Vaclav Petras
noreply at github.com
Sun Dec 6 01:46:41 PST 2020
Branch: refs/heads/releasebranch_7_8
Home: https://github.com/OSGeo/grass
Commit: 2440ec1ff716d10f84b7559fb4459f685578c8eb
https://github.com/OSGeo/grass/commit/2440ec1ff716d10f84b7559fb4459f685578c8eb
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2020-12-06 (Sun, 06 Dec 2020)
Changed paths:
M gui/wxpython/core/gconsole.py
M gui/wxpython/dbmgr/sqlbuilder.py
M gui/wxpython/gui_core/prompt.py
M gui/wxpython/modules/extensions.py
M gui/wxpython/timeline/frame.py
Log Message:
-----------
wxGUI: Remove calls of unicode function which don't work in Python 3 (#1111)
This removes all direct calls of unicode() function which is not present in Python 3.
The str() function is used instead to convert from exceptions/errors to strings.
The column iteration works without any conversion in Python 3.
Additionally, this renames variables e to error and removes a todo note to
fix exceptional case in a better way (not clear enough to be useful).
More information about the grass-commit
mailing list