commit | 884afd92f5a194e326df2be8279d4ab160c7b0c9 | [log] [tgz] |
---|---|---|
author | Berker Peksag <berker.peksag@gmail.com> | Wed Dec 10 02:50:32 2014 +0200 |
committer | Berker Peksag <berker.peksag@gmail.com> | Wed Dec 10 02:50:32 2014 +0200 |
tree | ce04f35703ae8e49f7795ea92cfad63047126041 | |
parent | 8b1cbd2b7cd8752462c68b17447446b54065691c [diff] |
Issue #21775: shutil.copytree(): fix crash when copying to VFAT An exception handler assumed that that OSError objects always have a 'winerror' attribute. That is not the case, so the exception handler itself raised AttributeError when run on Linux (and, presumably, any other non-Windows OS). Patch by Greg Ward.