[GRASS-SVN] r61632 - in grass-addons/grass7/gui/wxpython/wx.metadata: r.info.iso v.info.iso

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 14 08:28:20 PDT 2014


Author: martinl
Date: 2014-08-14 08:28:20 -0700 (Thu, 14 Aug 2014)
New Revision: 61632

Modified:
   grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
   grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py
Log:
r|v.info.iso: use standardized key for output file

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py	2014-08-14 15:27:51 UTC (rev 61631)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py	2014-08-14 15:28:20 UTC (rev 61632)
@@ -28,7 +28,6 @@
 #%end
 
 #%option G_OPT_F_OUTPUT
-#% key: out
 #% required: no
 #%end
 
@@ -41,11 +40,11 @@
 from mdgrass import *
 
 def main():
-    if not options['out']:
+    if not options['output']:
         destination = None
         name = None
     else:
-        destination, name = os.path.split(options['out'])
+        destination, name = os.path.split(options['output'])
 
     md = GrassMD(options['map'], 'cell')
     if options['profile'] == 'inspire':

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py	2014-08-14 15:27:51 UTC (rev 61631)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py	2014-08-14 15:28:20 UTC (rev 61632)
@@ -28,7 +28,6 @@
 #%end
 
 #%option G_OPT_F_OUTPUT
-#% key: out
 #% required: no
 #%end
 
@@ -40,11 +39,11 @@
 from mdgrass import *
 
 def main():
-    if not options['out']:
+    if not options['output']:
         destination = None
         name = None
     else:
-        destination, name = os.path.split(options['out'])
+        destination, name = os.path.split(options['output'])
 
     md = GrassMD(options['map'], 'vector')
     if options['profile'] == 'inspire':



More information about the grass-commit mailing list