[Yum-devel] [PATCH] fix --cacheonly edge case. BZ 975619
James Antill
james at fedoraproject.org
Wed Jun 19 15:10:18 UTC 2013
On Wed, 2013-06-19 at 10:23 -0400, Zdenek Pavlas wrote:
> > I don't understand. misc.unlink_f() is:
> >
> > try:
> > os.unlink(filename)
> > except OSError, e:
> > if e.errno != errno.ENOENT:
> > raise
> >
> > ...so which other OSError's are we protecting ourself from here
>
> EPERM, this is completion-helper using root cachedir.
Meh. probably worth just filtering EPERM in unlink_f(), I can't think
of a case where we'd use unlink_f() that we'd care about EPERM.
More information about the Yum-devel
mailing list