[GRASS-SVN] r47021 - grass/trunk/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 6 08:36:43 EDT 2011


Author: martinl
Date: 2011-07-06 05:36:43 -0700 (Wed, 06 Jul 2011)
New Revision: 47021

Modified:
   grass/trunk/lib/python/core.py
Log:
pythonlib: no need for `-c` flag when `location` is defined


Modified: grass/trunk/lib/python/core.py
===================================================================
--- grass/trunk/lib/python/core.py	2011-07-06 12:29:40 UTC (rev 47020)
+++ grass/trunk/lib/python/core.py	2011-07-06 12:36:43 UTC (rev 47021)
@@ -935,7 +935,6 @@
     if epsg:
         ps = pipe_command('g.proj',
                           quiet = True,
-                          flags = 'c',
                           epsg = epsg,
                           location = location,
                           stderr = PIPE,
@@ -943,7 +942,6 @@
     elif proj4:
         ps = pipe_command('g.proj',
                           quiet = True,
-                          flags = 'c',
                           proj4 = proj4,
                           location = location,
                           stderr = PIPE,
@@ -951,14 +949,12 @@
     elif filename:
         ps = pipe_command('g.proj',
                           quiet = True,
-                          flags = 'c',
                           georef = filename,
                           location = location,
                           stderr = PIPE)
     elif wkt:
         ps = pipe_command('g.proj',
                           quiet = True,
-                          flags = 'c',
                           wkt = wktfile,
                           location = location,
                           stderr = PIPE)



More information about the grass-commit mailing list