[Yum-devel] [PATCH] add support for saving out depsolved transactions and reloading them.

seth vidal skvidal at fedoraproject.org
Wed Nov 3 21:00:39 UTC 2010


On Wed, 2010-11-03 at 15:29 -0400, James Antill wrote:

> > +        
> > +        try:
> > +            base.load_ts(load_file)
> > +        except yum.Errors.YumBaseError, e:
> > +            return 1, [to_unicode(e)]
> > +        return 2, [_('Transaction loaded from %s with %s members') % (load_file, len(base.tsInfo))]
> 
>  load_ts to return the new txmbrs, so yum shell dtrt.

load_ts cannot return the new txmbrs - nor more so than installPkgs()
can return the new txmbrs.

What do you mean here?


> > +    def needTs(self, base, basecmd, extcmds):
> > +        return False
> 
>  Also this is wrong.
cut and paste issue - fixed
-sv




More information about the Yum-devel mailing list