[Python-Dev] [Python-checkins] cpython (3.1): Fix for issue 10684: Folders get deleted when trying to change case with (original) (raw)

Éric Araujo merwok at netwok.org
Fri May 13 17:44:00 CEST 2011


Hi,

Le 06/05/2011 11:32, ronald.oussoren a écrit :

http://hg.python.org/cpython/rev/26da299ca88e summary: Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

- except OSError: + except OSError as exc: if os.path.isdir(src): if destinsrc(src, dst): raise Error("Cannot move a directory '%s' into itself '%s'." % (src, dst))

Is this change a debugging leftover?

Regards



More information about the Python-Dev mailing list