[GRASS-SVN] r46780 - grass/trunk/scripts/v.colors

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 25 18:01:02 EDT 2011


Author: martinl
Date: 2011-06-25 15:01:02 -0700 (Sat, 25 Jun 2011)
New Revision: 46780

Modified:
   grass/trunk/scripts/v.colors/v.colors.py
Log:
v.colors: cosmetics in messages


Modified: grass/trunk/scripts/v.colors/v.colors.py
===================================================================
--- grass/trunk/scripts/v.colors/v.colors.py	2011-06-25 21:59:42 UTC (rev 46779)
+++ grass/trunk/scripts/v.colors/v.colors.py	2011-06-25 22:01:02 UTC (rev 46780)
@@ -173,7 +173,7 @@
     table = grass.vector_db(map)[int(layer)]['table']
     if rgb_column not in cols:
         # RGB Column not found, create it
-	grass.message(_("Creating column <%s> ...") % rgb_column)
+	grass.message(_("Creating column <%s>...") % rgb_column)
 	if 0 != grass.run_command('v.db.addcolumn', map = map, layer = layer, column = "%s varchar(11)" % rgb_column):
 	    grass.fatal(_("Creating color column"))
     else:
@@ -233,7 +233,7 @@
     tmp = grass.tempfile()
     
     # calculate colors and write SQL command file
-    grass.message(_("Looking up colors ..."))
+    grass.message(_("Looking up colors..."))
     
     f = open(tmp, 'w')
     p = grass.feed_command('r.what.color', flags = 'i', input = tmp_colr, stdout = f)



More information about the grass-commit mailing list