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.
init: Remove duplicate mapset cleaning code, use verbose (OSGeo#2455)
* Remove code duplication between init code in grass.py and grass.script.setup for mapset temporary directory cleaning. * Simplify the code by using subprocess.DEVNULL instead of os.devnull. * Change the cleaning message to verbose. * Document both functions.
- Loading branch information
1 parent
2b105fd
commit c03a908
Showing
2 changed files
with
14 additions
and
9 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
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