[GRASS-SVN] r68296 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 21 08:05:31 PDT 2016
Author: martinl
Date: 2016-04-21 08:05:31 -0700 (Thu, 21 Apr 2016)
New Revision: 68296
Modified:
grass/trunk/gui/wxpython/gui_core/pyedit.py
Log:
pyedit: add py extension for temporary files
Modified: grass/trunk/gui/wxpython/gui_core/pyedit.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/pyedit.py 2016-04-21 14:34:29 UTC (rev 68295)
+++ grass/trunk/gui/wxpython/gui_core/pyedit.py 2016-04-21 15:05:31 UTC (rev 68296)
@@ -225,7 +225,7 @@
return
if not self.filename:
- self.filename = gscript.tempfile()
+ self.filename = gscript.tempfile() + '.py'
self.tempfile = True
try:
fd = open(self.filename, "w")
More information about the grass-commit
mailing list