[GRASS-SVN] r59852 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 20 13:26:49 PDT 2014
Author: martinl
Date: 2014-04-20 13:26:49 -0700 (Sun, 20 Apr 2014)
New Revision: 59852
Modified:
grass/trunk/gui/wxpython/gis_set.py
Log:
wxGUI welcome screen: show revision number only for dev versions
Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py 2014-04-20 20:24:09 UTC (rev 59851)
+++ grass/trunk/gui/wxpython/gis_set.py 2014-04-20 20:26:49 UTC (rev 59852)
@@ -11,7 +11,7 @@
- gis_set::GListBox
- gis_set::StartUp
-(C) 2006-2013 by the GRASS Development Team
+(C) 2006-2014 by the GRASS Development Team
This program is free software under the GNU General Public License
(>=v2). Read the file COPYING that comes with GRASS for details.
@@ -99,7 +99,10 @@
versionFile.close()
try:
grassVersion, grassRevision = versionLine.split(' ', 1)
- grassRevisionStr = ' (%s)' % grassRevision
+ if grassVersion.endswith('svn'):
+ grassRevisionStr = ' (%s)' % grassRevision
+ else:
+ grassRevisionStr = ''
except ValueError:
grassVersion = versionLine
grassRevisionStr = ''
More information about the grass-commit
mailing list