浏览代码

grass.py: fix typo in info_text, svn -> dev (#78)

* grass.py: fix typo in info_text, svn -> dev

* grass.py: Subversion -> git cosmetics

Co-Authored-By: Markus Neteler <neteler@gmail.com>
Martin Landa 5 年之前
父节点
当前提交
03e91c5aef
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      lib/init/grass.py

+ 3 - 3
lib/init/grass.py

@@ -1594,9 +1594,9 @@ def show_banner():
 
 
 def say_hello():
-    """Write welcome to stderr including Subversion revision if in svn copy"""
+    """Write welcome to stderr including code revision if in git copy"""
     sys.stderr.write(_("Welcome to GRASS GIS %s") % GRASS_VERSION)
-    if GRASS_VERSION.endswith('svn'):
+    if GRASS_VERSION.endswith('dev'):
         try:
             filerev = open(gpath('etc', 'VERSIONNUMBER'))
             linerev = filerev.readline().rstrip('\n')
@@ -1608,7 +1608,7 @@ def say_hello():
             pass
 
 
-INFO_TEXT = r"""\
+INFO_TEXT = r"""
 %-41shttps://grass.osgeo.org
 %-41s%s (%s)
 %-41sg.manual -i