forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonlib: return None from run_command() (OSGeo#165)
Removing the 7.0.0 backwards compatibility from run_command() which was raising exception on error but returning 0 on success. Adding option to use the standard fatal() error handling which might be good for use within GRASS GIS code itself. Adding extensive documentation for the available options and linking all relevant functions. Also passing module name explicitelly to CalledModuleError as a parameter.
- Loading branch information
1 parent
5b87a33
commit cc6dbeb
Showing
1 changed file
with
85 additions
and
21 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