Quellcode durchsuchen

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 vor 8 Jahren
Ursprung
Commit
7e17c29897
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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.
         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.
         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()
         return not self.IsEmpty() and self.IsModified()
 
 
     def SetScriptTemplate(self, event):
     def SetScriptTemplate(self, event):