-
-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grass.script: Provide env parameter in the g.message API (#3439)
This makes the _message_, _verbose_ and other functions consistent with other wrappers around _run_command_ family calls. While not needed for multiple-mapset situations and parallelization, it is necessary when calls with messages are used without global environment being set and only a custom (local) environment is available which is the case in grass.script.setup (with #3438). The PR aims at providing the interface, not updating all use cases (it will be applied for grass.script.setup in #3438). This does not have any test since the current API does not allow for writing these test. This will be tested indirectly in the future (e.g. by #3438). Additionally, it fixes documentation for couple other function where the parameter documentation was misleading or wrong.
- Loading branch information
1 parent
76bcffb
commit 44ea597
Showing
1 changed file
with
28 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters