[GRASS-dev] [GRASS GIS] #2009: thumbnails.py failure
GRASS GIS
trac at osgeo.org
Sun Jun 16 01:23:24 PDT 2013
#2009: thumbnails.py failure
-------------------------------+--------------------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: svn-trunk
Keywords: r.colors v.colors | Platform: All
Cpu: Unspecified |
-------------------------------+--------------------------------------------
Comment(by hamish):
untested patch for problem #1:
{{{
Index: raster/r.colors/thumbnails.py
===================================================================
--- raster/r.colors/thumbnails.py (revision 56728)
+++ raster/r.colors/thumbnails.py (working copy)
@@ -102,7 +102,7 @@
# skip comments
continue
records.append(line.split())
- records = [record for record in records if record[0] != 'nv']
+ records = [record for record in records if record[0] != 'nv' and
record[0] != 'default']
relative = False
absolute = False
for record in records:
}}}
H
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2009#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list