[GRASS-SVN] r63958 - grass/trunk/scripts/v.to.lines

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 5 12:36:58 PST 2015


Author: hellik
Date: 2015-01-05 12:36:58 -0800 (Mon, 05 Jan 2015)
New Revision: 63958

Modified:
   grass/trunk/scripts/v.to.lines/v.to.lines.py
Log:
v.to.lines: strip mapset

Modified: grass/trunk/scripts/v.to.lines/v.to.lines.py
===================================================================
--- grass/trunk/scripts/v.to.lines/v.to.lines.py	2015-01-05 19:32:08 UTC (rev 63957)
+++ grass/trunk/scripts/v.to.lines/v.to.lines.py	2015-01-05 20:36:58 UTC (rev 63958)
@@ -47,7 +47,7 @@
 
 def main():
     # Get the options
-    input = options["input"]
+    input = options["input"].split('@')[0]
     output = options["output"]
     method = options["method"]
     min_cat = None



More information about the grass-commit mailing list