[prev in list] [next in list] [prev in thread] [next in thread]
List: grass-commit
Subject: [GRASS-SVN] r70459 - grass/trunk/gui/wxpython/gui_core
From: svn_grass () osgeo ! org
Date: 2017-01-30 20:34:57
Message-ID: 20170130203457.B4E203900FD () trac ! osgeo ! org
[Download RAW message or body]
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):
_______________________________________________
grass-commit mailing list
grass-commit@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic