[GRASS-SVN] r61720 - grass-addons/grass7/gui/wxpython/wx.metadata/mdlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 23 11:54:18 PDT 2014


Author: neteler
Date: 2014-08-23 11:54:18 -0700 (Sat, 23 Aug 2014)
New Revision: 61720

Modified:
   grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py
Log:
wx.metadata: fix var typo

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py	2014-08-23 16:39:47 UTC (rev 61719)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py	2014-08-23 18:54:18 UTC (rev 61720)
@@ -371,7 +371,7 @@
                     print "I/O error({0}): {1}".format(e.errno, e.strerror)
                     grass.fatal('ERROR: cannot write xml to file')
                     # sys.exit()
-                return patha
+                return path
         else:
             if os.path.isfile(path):
                 Module('g.message', message='Metadata file exists: %s' % path)



More information about the grass-commit mailing list