Sfoglia il codice sorgente

wxGUI/pyedit: Debug format is percent not format function

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70459 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 8 anni fa
parent
commit
7e17c29897
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      gui/wxpython/gui_core/pyedit.py

+ 2 - 2
gui/wxpython/gui_core/pyedit.py

@@ -409,8 +409,8 @@ class PyEditController(object):
         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):