[Yum-devel] [PATCH] The postresolve hook should run after the installonlyn magic.

seth vidal skvidal at fedoraproject.org
Tue Jun 3 20:29:51 UTC 2008


On Tue, 2008-06-03 at 16:26 -0400, Jack Neely wrote:
> Comments?
> 
> Jack
> 
> ---
>  yum/__init__.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/yum/__init__.py b/yum/__init__.py
> index c621a73..7c87f3d 100644
> --- a/yum/__init__.py
> +++ b/yum/__init__.py
> @@ -626,8 +626,8 @@ class YumBase(depsolve.Depsolve):
>          ds_st = time.time()
>  
>          (rescode, restring) = self.resolveDeps()
> -        self.plugins.run('postresolve', rescode=rescode, restring=restring)
>          self._limit_installonly_pkgs()
> +        self.plugins.run('postresolve', rescode=rescode, restring=restring)
>          
>          if self.tsInfo.changed:
>              (rescode, restring) = self.resolveDeps()

that seems to make sense to me at first glance. installonlyn modifies
the package set in the transaction in most cases where it does anything.

-sv





More information about the Yum-devel mailing list