[GRASS-SVN] r31757 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 19 10:08:36 EDT 2008


Author: martinl
Date: 2008-06-19 10:08:36 -0400 (Thu, 19 Jun 2008)
New Revision: 31757

Modified:
   grass/trunk/gui/wxpython/gui_modules/location_wizard.py
Log:
wxGUI: cosmetics in location wizard, make g.proj silent

Modified: grass/trunk/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/location_wizard.py	2008-06-19 12:05:00 UTC (rev 31756)
+++ grass/trunk/gui/wxpython/gui_modules/location_wizard.py	2008-06-19 14:08:36 UTC (rev 31757)
@@ -2025,6 +2025,7 @@
         cmdlist = ['g.proj',
                    'epsg=%s' % epsgcode,
                    'datumtrans=-1']
+
         p = gcmd.Command(cmdlist)
 
         dtoptions = {}
@@ -2071,6 +2072,7 @@
                        'datumtrans=1']
 
         p = gcmd.Command(cmdlist, stderr=None)
+
         if p.returncode == 0:
             return True
 
@@ -2130,7 +2132,9 @@
         cmdlist = ['g.proj', '-c',
                    'wkt=%s' % wktfile,
                    'location=%s' % location]
-        p = gcmd.Command(cmdlist)
+
+        p = gcmd.Command(cmdlist, stderr=None)
+
         if p.returncode == 0:
             return True
 



More information about the grass-commit mailing list