#2915: i.segment.hierarchical: print statements should be replaced by messages
---------------------------------------------+-------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Addons | Version: unspecified
Keywords: i.segment.hierarchical messages | CPU: Unspecified
Platform: Unspecified |
---------------------------------------------+-------------------------
i.segment.hierarchical contains many print() statements. These should all
be replaced by messages that can be "quieted".
I'm not very familiar with the message interface in pygrass: is there a
need to create a new Messenger() for each different function & class ?
#2915: i.segment.hierarchical: print statements should be replaced by messages
--------------------------+---------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Addons | Version: unspecified
Resolution: | Keywords: i.segment.hierarchical messages
CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------------
Comment (by zarch):
Replying to [ticket:2915 mlennert]:
> i.segment.hierarchical contains many print() statements. These should
all be replaced by messages that can be "quieted".
>
> I'm not very familiar with the message interface in pygrass: is there a
need to create a new Messenger() for each different function & class ?
You can get a Messenger instance using the {{{get_msgr}}} function.