[GRASS-SVN] r69992 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 4 11:06:33 PST 2016


Author: martinl
Date: 2016-12-04 11:06:33 -0800 (Sun, 04 Dec 2016)
New Revision: 69992

Modified:
   grass/trunk/lib/gis/find_file.c
Log:
libgis: map (data element) found in more mapsets - turn warning into important message


Modified: grass/trunk/lib/gis/find_file.c
===================================================================
--- grass/trunk/lib/gis/find_file.c	2016-12-04 08:01:42 UTC (rev 69991)
+++ grass/trunk/lib/gis/find_file.c	2016-12-04 19:06:33 UTC (rev 69992)
@@ -111,8 +111,8 @@
 		if (!pselmapset)
 		    pselmapset = pmapset;
 		else if (element == pelement)
-		    G_warning(_("'%s/%s' was found in more mapsets (also found in <%s>)"),
-			      element, pname, pmapset);
+		    G_important_message(_("Data element '%s/%s' was found in more mapsets (also found in <%s>)"),
+                                        element, pname, pmapset);
 		cnt++;
 	    }
 	}
@@ -124,7 +124,7 @@
 	    if (access(path, 0) == 0) {
 		/* If the same name exists in more mapsets and print a warning */
 		if (cnt > 1 && element == pelement)
-		    G_warning(_("Using <%s@%s>"),
+		    G_important_message(_("Using <%s@%s>..."),
 			      pname, pselmapset);
 	    
 		return G_store(pselmapset);



More information about the grass-commit mailing list