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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 29 14:20:15 EDT 2011


Author: martinl
Date: 2011-10-29 11:20:15 -0700 (Sat, 29 Oct 2011)
New Revision: 48992

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI/menuform: add extra linesep for interactive input


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2011-10-29 18:16:13 UTC (rev 48991)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2011-10-29 18:20:15 UTC (rev 48992)
@@ -1636,7 +1636,7 @@
                 
             f = open(filename, "w")
             try:
-                f.write(text)
+                f.write(text + os.linesep)
             finally:
                 f.close()
         else:



More information about the grass-commit mailing list