Please file a bug against this.  We created the subclas pkgtarfile to
get around a couple of limitations in the Tarfile class.  I don't think
any of us realized that Tarfile might be busted in the way you
described.

Thanks for finding this problem.

-j

On Wed, Jan 30, 2008 at 08:29:05PM -0500, Richard Lowe wrote:
> 
> Python's tarfile module ignores 'non-fatal' errors if the errorlevel
> slot in the object is < 2, pkgtarfile appears to follow this
> behaviour. 
> 
> It seems that the inability to extract a file is viewed as 'non-fatal'
> in this context, and that pkg never sets errorlevel or does other
> checking to make sure everything worked as expected.
> 
> Is this intended for reasons I can't currently figure out, or do you
> guys want a bug filed against pkg?
> 
> -- Rich
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to