[GRASS-SVN] r40388 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 12 14:09:41 EST 2010


Author: hamish
Date: 2010-01-12 14:09:41 -0500 (Tue, 12 Jan 2010)
New Revision: 40388

Modified:
   grass/trunk/gui/wxpython/gui_modules/help.py
Log:
display full COPYING file (#860, merge from devbr6)

Modified: grass/trunk/gui/wxpython/gui_modules/help.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/help.py	2010-01-12 19:09:00 UTC (rev 40387)
+++ grass/trunk/gui/wxpython/gui_modules/help.py	2010-01-12 19:09:41 UTC (rev 40388)
@@ -452,10 +452,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