[GRASS-SVN] r53370 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 11 14:00:31 PDT 2012
Author: martinl
Date: 2012-10-11 14:00:30 -0700 (Thu, 11 Oct 2012)
New Revision: 53370
Modified:
grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI: OnSystem - report also GDAL version
Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py 2012-10-11 20:38:47 UTC (rev 53369)
+++ grass/trunk/gui/wxpython/lmgr/frame.py 2012-10-11 21:00:30 UTC (rev 53370)
@@ -780,14 +780,22 @@
"""!Print system information"""
vInfo = grass.version()
+ try:
+ from osgeo import gdal
+ gdalVersion = gdal.__version__
+ except:
+ gdalVersion = _("unknown")
+
self.goutput.WriteLog("%s: %s\n"
"%s: %s\n"
"%s: %s (%s)\n"
+ "GDAL/OGR: %s\n"
"Python: %s\n"
"wxPython: %s\n"
"%s: %s\n"% (_("GRASS version"), vInfo['version'],
_("GRASS SVN Revision"), vInfo['revision'],
_("GIS Library Revision"), vInfo['libgis_revision'], vInfo['libgis_date'].split(' ', 1)[0],
+ gdalVersion,
platform.python_version(),
wx.__version__,
_("Platform"), platform.platform()),
More information about the grass-commit
mailing list