Opened 9 years ago
Last modified 5 years ago
#2915 new defect
i.segment.hierarchical: print statements should be replaced by messages
Reported by: | mlennert | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.3 |
Component: | Addons | Version: | unspecified |
Keywords: | i.segment.hierarchical messages | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
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 ?
Change History (7)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Milestone: | 7.0.4 → 7.0.5 |
---|
comment:3 by , 8 years ago
Milestone: | 7.0.5 → 7.0.6 |
---|
comment:4 by , 7 years ago
Milestone: | 7.0.6 → 7.0.7 |
---|
comment:7 by , 5 years ago
Milestone: | → 7.8.3 |
---|
Note:
See TracTickets
for help on using tickets.
Replying to mlennert:
You can get a Messenger instance using the
get_msgr
function.or you can create a global variable