[GRASS-SVN] r54983 - grass/trunk/lib/python/script

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 8 03:41:31 PST 2013


Author: martinl
Date: 2013-02-08 03:41:31 -0800 (Fri, 08 Feb 2013)
New Revision: 54983

Modified:
   grass/trunk/lib/python/script/raster.py
Log:
libpython: raster_what() - chnage null string indicator


Modified: grass/trunk/lib/python/script/raster.py
===================================================================
--- grass/trunk/lib/python/script/raster.py	2013-02-08 11:38:07 UTC (rev 54982)
+++ grass/trunk/lib/python/script/raster.py	2013-02-08 11:41:31 UTC (rev 54983)
@@ -156,8 +156,9 @@
                      flags = 'rf',
                      separator = sep,
                      map = ','.join(map_list),
-                     coordinates = ','.join(coord_list))
-
+                     coordinates = ','.join(coord_list),
+                     null = _("No data"))
+    
     ret = read_command('r.what',
                        **cmdParams)
     data = list()



More information about the grass-commit mailing list