#2832 closed defect (fixed)
r.damflood return code
| Reported by: | pmav99 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0.3 |
| Component: | Addons | Version: | unspecified |
| Keywords: | r.damflood | Cc: | |
| CPU: | Unspecified | Platform: | Unspecified |
Description
It seems that r.damflood is not returning an integer value from it's `main` and as a result the actual return value is undefined
The problem with this is that when you invoke the script using e.g. grass.script.run_command() you get an exception even though the execution finished without problems. Not a huge deal but it caused me some headscratching.
Change History (3)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
No feedback, assuming that it is solved. Closing.
Note:
See TracTickets
for help on using tickets.

This is definitively a bug. Fixed in r67259. Please test and close the ticket if it is OK.