This commit is contained in:
Kovid Goyal 2013-10-18 11:46:03 +05:30
parent 1de7cdedc0
commit bc85b0948e

View File

@ -352,6 +352,7 @@ class WindowsAtomicFolderMove(object):
# in which case we use the same handle for both files # in which case we use the same handle for both files
fileid = name_to_fileid[x] fileid = name_to_fileid[x]
found = False found = False
if fileid is not None:
for other in fileid_to_names[fileid]: for other in fileid_to_names[fileid]:
other = os.path.normcase(os.path.abspath(os.path.join(path, other))) other = os.path.normcase(os.path.abspath(os.path.join(path, other)))
if other in self.handle_map: if other in self.handle_map: