> > -        my.repos.setCacheDir(cachedir)
> > +        my.conf.uid = 1 # force locking of user cache
> 
>  This seems hacky, like we should have some API to explicitly say "do
> cachedir locking" ... but, meh conf.uid isn't used for much else
> anyway.

Don't like it either.  IMO doLock() should always lock self.cachedir
(unless we're readonly), but many users won't be happy with that.
Setting non-zero uid forces that.  pushed.
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to