[GRASS-SVN] r70459 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 30 12:34:57 PST 2017
Author: wenzeslaus
Date: 2017-01-30 12:34:57 -0800 (Mon, 30 Jan 2017)
New Revision: 70459
Modified:
grass/trunk/gui/wxpython/gui_core/pyedit.py
Log:
wxGUI/pyedit: Debug format is percent not format function
Modified: grass/trunk/gui/wxpython/gui_core/pyedit.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/pyedit.py 2017-01-30 09:22:52 UTC (rev 70458)
+++ grass/trunk/gui/wxpython/gui_core/pyedit.py 2017-01-30 20:34:57 UTC (rev 70459)
@@ -409,8 +409,8 @@
Used for example to check if content should be saved before closing.
The content is not valuable for example if it already saved in a file.
"""
- Debug.msg(2, "pyedit IsContentValuable? empty={}, modified={}",
- self.IsEmpty(), self.IsModified())
+ Debug.msg(2, "pyedit IsContentValuable? empty=%s, modified=%s" % (
+ self.IsEmpty(), self.IsModified()))
return not self.IsEmpty() and self.IsModified()
def SetScriptTemplate(self, event):
More information about the grass-commit
mailing list