commit | 5de4a3cfc5d410116ef1b1cd2d3726518f108776 | [log] [tgz] |
---|---|---|
author | Berker Peksag <berker.peksag@gmail.com> | Wed Dec 10 02:51:36 2014 +0200 |
committer | Berker Peksag <berker.peksag@gmail.com> | Wed Dec 10 02:51:36 2014 +0200 |
tree | ccddb0bec6e9d4195ea31d5d75c81ea8b7b22b4e | |
parent | 0a2e874eead3238b86f6521ddc66f73061e1f236 [diff] | |
parent | 884afd92f5a194e326df2be8279d4ab160c7b0c9 [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.