[GRASS-dev] [GRASS GIS] #3712: v.colors2 range check bug

#3712: v.colors2 range check bug
---------------------+-------------------------
Reporter: pmolzer | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Addons | Version: 7.4.2
Keywords: | CPU: Unspecified
Platform: All |
---------------------+-------------------------
range checking in v.colors2 fails when the min value is 0. Line 183 should
be changed
from this:

{{{
if not minval or not maxval:
}}}

  to this:

{{{
if minval is None or maxval is None:
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3712&gt;
GRASS GIS <https://grass.osgeo.org>

#3712: v.colors2 range check bug
--------------------------+-------------------------
  Reporter: pmolzer | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: Addons | Version: 7.4.2
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: All
--------------------------+-------------------------
Changes (by lucadelu):

* status: new => closed
* resolution: => fixed

Comment:

In [changeset:"73813" 73813]:
{{{
#!CommitTicketReference repository="" revision="73813"
v.colors2: fixed #3712
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3712#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>