mirror of https://github.com/python/cpython
py-cvs-rel2_1 (Rev 1.8) merge - whitespace normalization
This commit is contained in:
parent
afdf71b9ee
commit
6be679047b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue