[GRASS-SVN] r70741 - grass-addons/grass7/vector/v.lfp
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 10 22:12:03 PST 2017
Author: hcho
Date: 2017-03-10 22:12:03 -0800 (Fri, 10 Mar 2017)
New Revision: 70741
Modified:
grass-addons/grass7/vector/v.lfp/v.lfp.py
Log:
v.lfp: Write history
Modified: grass-addons/grass7/vector/v.lfp/v.lfp.py
===================================================================
--- grass-addons/grass7/vector/v.lfp/v.lfp.py 2017-03-11 06:11:28 UTC (rev 70740)
+++ grass-addons/grass7/vector/v.lfp/v.lfp.py 2017-03-11 06:12:03 UTC (rev 70741)
@@ -170,7 +170,11 @@
except CalledModuleError:
grass.fatal(_("Cannot flip the longest flow path"))
+ # write history
+ grass.run_command("v.support", flags="h", map=output,
+ cmdhist=os.environ["CMDLINE"])
+
if __name__ == "__main__":
options, flags = grass.parser()
sys.exit(main())
More information about the grass-commit
mailing list