[GRASS-SVN] r47025 - in grass/branches/releasebranch_6_4: gui/wxpython/gui_modules lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 6 09:17:45 EDT 2011


Author: martinl
Date: 2011-07-06 06:17:45 -0700 (Wed, 06 Jul 2011)
New Revision: 47025

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py
   grass/branches/releasebranch_6_4/lib/python/core.py
Log:
fix create_location() for wkt
   (merge r47022 from trunk)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py	2011-07-06 13:10:56 UTC (rev 47024)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py	2011-07-06 13:17:45 UTC (rev 47025)
@@ -2034,7 +2034,7 @@
                 
                 grass.create_location(dbase = self.startpage.grassdatabase,
                                       location = self.startpage.location,
-                                      filename = self.wktpage.wktfile,
+                                      wkt = self.wktpage.wktfile,
                                       desc = self.startpage.locTitle)
         
         except grass.ScriptError, e:

Modified: grass/branches/releasebranch_6_4/lib/python/core.py
===================================================================
--- grass/branches/releasebranch_6_4/lib/python/core.py	2011-07-06 13:10:56 UTC (rev 47024)
+++ grass/branches/releasebranch_6_4/lib/python/core.py	2011-07-06 13:17:45 UTC (rev 47025)
@@ -950,7 +950,7 @@
         ps = pipe_command('g.proj',
                           quiet = True,
                           flags = 'c',
-                          wkt = wktfile,
+                          wkt = wkt,
                           location = location,
                           stderr = PIPE)
     else:



More information about the grass-commit mailing list