[GRASS-git] [OSGeo/grass-addons] 2304be: r.in.usgs: Improve text and placement of messages ...
Vaclav Petras
noreply at github.com
Fri Nov 12 18:41:14 PST 2021
Branch: refs/heads/grass7
Home: https://github.com/OSGeo/grass-addons
Commit: 2304bec38281fae754119dbd18144103b2f94dde
https://github.com/OSGeo/grass-addons/commit/2304bec38281fae754119dbd18144103b2f94dde
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2021-11-12 (Fri, 12 Nov 2021)
Changed paths:
M src/raster/r.in.usgs/r.in.usgs.py
Log Message:
-----------
r.in.usgs: Improve text and placement of messages (#632)
* Avoid all caps in messages.
* Improve consistency.
* Include relevant details.
* Include underlying error messages.
* Report about upcomming download, then show percentage, not the otherway around.
* Simplify if-statements by handling the error state in a if first, than continue without nesting (instead of if-else).
* Use import grass.script as gs instead of gscript for changed code.
* Remove quote-space-quote from Black re-formatting of old code.
More information about the grass-commit
mailing list