[GRASS-SVN] r40386 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 12 06:06:30 EST 2010
Author: hamish
Date: 2010-01-12 06:06:28 -0500 (Tue, 12 Jan 2010)
New Revision: 40386
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/help.py
Log:
display full COPYING file (#860, thanks Glynn)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/help.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/help.py 2010-01-12 10:44:40 UTC (rev 40385)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/help.py 2010-01-12 11:06:28 UTC (rev 40386)
@@ -453,10 +453,7 @@
copyfile = os.path.join(os.getenv("GISBASE"), "COPYING")
if os.path.exists(copyfile):
copyrightFile = open(copyfile, 'r')
- copyrightOut = []
- copyright = copyrightFile.readlines()
- copytext = wordwrap(''.join(copyright[:11] + copyright[26:-3]),
- 575, wx.ClientDC(self))
+ copytext = copyrightFile.read()
copyrightFile.close()
else:
copytext = _('%s file missing') % 'COPYING'
More information about the grass-commit
mailing list