There was an error while loading. Please reload this page.
1 parent 86581c5 commit 7d71798Copy full SHA for 7d71798
nipype/interfaces/io.py
@@ -86,7 +86,7 @@ def copytree(src, dst, use_hardlink=False):
86
copyfile(srcname, dstname, True, hashmethod='content',
87
use_hardlink=use_hardlink)
88
except (IOError, os.error) as why:
89
- errors.append((srcname, dstname, why.strerror))
+ errors.append((srcname, dstname, str(why)))
90
# catch the Error from the recursive copytree so that we can
91
# continue with other files
92
except Exception as err:
0 commit comments