[GRASS-git] [OSGeo/grass] cb3d12: grass.script: Pass environment to message function...
Vaclav Petras
noreply at github.com
Fri Nov 1 14:24:00 PDT 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: cb3d12b490528b595729589e373887bc5a5923a6
https://github.com/OSGeo/grass/commit/cb3d12b490528b595729589e373887bc5a5923a6
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2024-11-01 (Fri, 01 Nov 2024)
Changed paths:
M python/grass/script/core.py
M python/grass/script/db.py
M python/grass/script/raster.py
M python/grass/script/raster3d.py
M python/grass/script/vector.py
Log Message:
-----------
grass.script: Pass environment to message functions (#4630)
While the message functions (fatal, warning, message, info, debug, verbose, percent) have env parameter, grass.script was not consistently passing the env parameter to these functions. This fixes all the clear cases in functions which themselves have env (but does not touch any which don't have it where the fix needs to be more complex).
These functions can now be called and produce these messages even for non-global sessions.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list