[issue1545] shutil fails when copying to NTFS in Linux

ianaré report at bugs.python.org
Tue Dec 4 18:12:21 CET 2007


ianaré added the comment:

sorry, should have clarified, I tested with this code:

copy2

try:
    copystat(src, dst)
except OSError, err:
    if WindowsError is not None and isinstance(err, WindowsError):
        pass
    else:
        raise

copytree

try:
    copystat(src, dst)
except OSError, err:
    if WindowsError is not None and isinstance(err, WindowsError):
        pass
    else:
        errors.extend((src, dst, str(why)))

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1545>
__________________________________


More information about the Python-bugs-list mailing list