浏览代码

g.extension: -d -> message cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61618 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父节点
当前提交
bad345bfd7
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      scripts/g.extension/g.extension.py

+ 3 - 3
scripts/g.extension/g.extension.py

@@ -393,7 +393,7 @@ def cleanup():
     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 @@ def install_extension_other(name):
                   ]
 
     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