From: Berker Peksag Date: Wed, 10 Dec 2014 00:51:36 +0000 (+0200) Subject: Issue #21775: shutil.copytree(): fix crash when copying to VFAT X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5de4a3cfc5d410116ef1b1cd2d3726518f108776;p=python 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. --- 5de4a3cfc5d410116ef1b1cd2d3726518f108776