diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2001-07-13 04:07:47 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2001-07-13 04:07:47 (GMT) |
commit | 6be679047ba17cdfd37a03544e818ec484832cce (patch) | |
tree | d88f5bcd5cd577338a22d82f69064c3d3a792b9d | |
parent | afdf71b9eefdfb5904e40602984836b28318bad0 (diff) | |
download | cpython-6be679047ba17cdfd37a03544e818ec484832cce.zip cpython-6be679047ba17cdfd37a03544e818ec484832cce.tar.gz cpython-6be679047ba17cdfd37a03544e818ec484832cce.tar.bz2 |
py-cvs-rel2_1 (Rev 1.8) merge - whitespace normalization
-rw-r--r-- | Lib/idlelib/FileList.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/idlelib/FileList.py b/Lib/idlelib/FileList.py index 5d9aafe..befcf17 100644 --- a/Lib/idlelib/FileList.py +++ b/Lib/idlelib/FileList.py @@ -31,12 +31,12 @@ class FileList: def goodname(self, filename): - filename = self.canonize(filename) - key = os.path.normcase(filename) - if self.dict.has_key(key): - edit = self.dict[key] - filename = edit.io.filename or filename - return filename + filename = self.canonize(filename) + key = os.path.normcase(filename) + if self.dict.has_key(key): + edit = self.dict[key] + filename = edit.io.filename or filename + return filename def open(self, filename, action=None): assert filename |