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-Tag: v3.5.0a1~353 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5de4a3cfc5d410116ef1b1cd2d3726518f108776;p=thirdparty%2FPython%2Fcpython.git 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