[GRASS-SVN] r61618 - grass/trunk/scripts/g.extension

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 14 05:21:41 PDT 2014


Author: martinl
Date: 2014-08-14 05:21:41 -0700 (Thu, 14 Aug 2014)
New Revision: 61618

Modified:
   grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: -d -> message cosmetics

Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py	2014-08-14 12:19:24 UTC (rev 61617)
+++ grass/trunk/scripts/g.extension/g.extension.py	2014-08-14 12:21:41 UTC (rev 61618)
@@ -393,7 +393,7 @@
     if REMOVE_TMPDIR:
         grass.try_rmdir(TMPDIR)
     else:
-        grass.message(_("Path to the source code:"))
+        grass.message("\n%s\n" % _("Path to the source code:"))
         sys.stderr.write('%s\n' % os.path.join(TMPDIR, options['extension']))
 
 # write out meta-file
@@ -769,9 +769,9 @@
                   ]
 
     if flags['d']:
-        grass.message(_("To compile run:"))
+        grass.message("\n%s\n" % _("To compile run:"))
         sys.stderr.write(' '.join(makeCmd) + '\n')
-        grass.message(_("To install run:"))
+        grass.message("\n%s\n" % _("To install run:"))
         sys.stderr.write(' '.join(installCmd) + '\n')
         return 0
 



More information about the grass-commit mailing list