tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: python2.6 copystat and NFS



On Tue, Aug 18, 2009 at 12:20:47AM +1200, Mark Davies wrote:
 > Not sure the best way to deal with this:
 > 
 > In python 2.6 the copystat() function (in /usr/pkg/lib/python2.6/shutil.py)
 > has grown an extra part
 > [...]
 >      [EOPNOTSUPP]       The named file resides on a file system that does
 >                         not support file flags.

Maybe have os.chflags suppress the error if errno == EOPNOTSUPP and
the flags argument is 0?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index