diff options
author | Walter Dörwald <walter@livinglogic.de> | 2004-02-12 17:35:32 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2004-02-12 17:35:32 (GMT) |
commit | 70a6b49821a3226f55e9716f32d802d06640cb89 (patch) | |
tree | 3c8ca10c1fa09e025bd266cf855a00d7d96c55aa /Lib/idlelib/FileList.py | |
parent | ecfeb7f095dfd9c1c8929bf3df858ee35e0d9e9e (diff) | |
download | cpython-70a6b49821a3226f55e9716f32d802d06640cb89.zip cpython-70a6b49821a3226f55e9716f32d802d06640cb89.tar.gz cpython-70a6b49821a3226f55e9716f32d802d06640cb89.tar.bz2 |
Replace backticks with repr() or "%r"
From SF patch #852334.
Diffstat (limited to 'Lib/idlelib/FileList.py')
-rw-r--r-- | Lib/idlelib/FileList.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/FileList.py b/Lib/idlelib/FileList.py index 4e08e70..198055a 100644 --- a/Lib/idlelib/FileList.py +++ b/Lib/idlelib/FileList.py @@ -35,7 +35,7 @@ class FileList: if os.path.isdir(filename): tkMessageBox.showerror( "Is A Directory", - "The path %s is a directory." % `filename`, + "The path %r is a directory." % (filename,), master=self.root) return None key = os.path.normcase(filename) @@ -46,7 +46,7 @@ class FileList: if not os.path.exists(filename): tkMessageBox.showinfo( "New File", - "Opening non-existent file %s" % `filename`, + "Opening non-existent file %r" % (filename,), master=self.root) if action is None: return self.EditorWindow(self, filename, key) @@ -102,7 +102,7 @@ class FileList: self.inversedict[conflict] = None tkMessageBox.showerror( "Name Conflict", - "You now have multiple edit windows open for %s" % `filename`, + "You now have multiple edit windows open for %r" % (filename,), master=self.root) self.dict[newkey] = edit self.inversedict[edit] = newkey |