From 1fa2f21d7fd73dee79d2f6454cf1df6cfa85b714 Mon Sep 17 00:00:00 2001 From: Markus Neteler Date: Tue, 26 May 2020 10:07:07 +0200 Subject: [PATCH] i.fusion.hpf: simplify raster_history call (#174) --- grass7/imagery/i.fusion.hpf/i.fusion.hpf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grass7/imagery/i.fusion.hpf/i.fusion.hpf.py b/grass7/imagery/i.fusion.hpf/i.fusion.hpf.py index 633ad7358e..fb42619c36 100755 --- a/grass7/imagery/i.fusion.hpf/i.fusion.hpf.py +++ b/grass7/imagery/i.fusion.hpf/i.fusion.hpf.py @@ -552,7 +552,7 @@ def main(): # End of Algorithm # history entry - run("r.support", map=tmp_msx_hpf, history="\n".join(cmd_history)) + grass.raster_history(tmp_msx_hpf) # add suffix to basename & rename end product msx_name = "{base}{suffix}"