Message159192
| Author |
hynek |
| Recipients |
grobian, hynek |
| Date |
2012年04月24日.19:08:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1335294496.08.0.904694567675.issue14662@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Now that’s odd. I just looked into the code at http://hg.python.org/cpython/file/2.7/Lib/shutil.py#l103 and there is a guard against EOPNOTSUPP:
try:
os.chflags(dst, st.st_flags)
except OSError, why:
if (not hasattr(errno, 'EOPNOTSUPP') or
why.errno != errno.EOPNOTSUPP):
raise
Does your /Library/Gentoo/usr/lib/python2.7/shutil.py look the same? Would you mind adding a `print why.errno` just before the raise?
I have tried move'ing files to NTFS and FAT32 and it works just fine here. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月24日 19:08:16 | hynek | set | recipients:
+ hynek, grobian |
| 2012年04月24日 19:08:16 | hynek | set | messageid: <1335294496.08.0.904694567675.issue14662@psf.upfronthosting.co.za> |
| 2012年04月24日 19:08:15 | hynek | link | issue14662 messages |
| 2012年04月24日 19:08:15 | hynek | create |
|