[GRASS-SVN] r40390 - grass/branches/releasebranch_6_4/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 12 14:15:29 EST 2010


Author: hamish
Date: 2010-01-12 14:15:28 -0500 (Tue, 12 Jan 2010)
New Revision: 40390

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
Log:
display full COPYING file (#860, merge from devbr6)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2010-01-12 19:10:13 UTC (rev 40389)
+++ grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2010-01-12 19:15:28 UTC (rev 40390)
@@ -1617,10 +1617,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(panel))
+            copytext = copyrightFile.read()
             copyrightFile.close()
         else:
             copytext = _('COPYING file missing')



More information about the grass-commit mailing list