[GRASS-dev] [GRASS GIS] #3877: grass77 --config revision broken
GRASS GIS
trac at osgeo.org
Mon Jul 29 12:10:27 PDT 2019
#3877: grass77 --config revision broken
-------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: Python | Version: svn-trunk
Keywords: grass.py | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
Some recent changes broke `--config` partially:
{{{
## ok
grass77 --config version
7.7.dev
grass77 --config svn_revision
fdb74d2d
## broken
grass77 --config revision
Traceback (most recent call last):
File "/home/mneteler/bin/grass77", line 2204, in <module>
main()
File "/home/mneteler/bin/grass77", line 2018, in main
params = parse_cmdline(sys.argv[1:], default_gui=default_gui)
File "/home/mneteler/bin/grass77", line 1939, in parse_cmdline
print_params()
File "/home/mneteler/bin/grass77", line 1850, in print_params
"%s\n" % val[0].split(':')[1].rstrip('$"\n').strip())
IndexError: list index out of range
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3877>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list