[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 6/6] Grab repo metadata separately from adding a repo.



> diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
> index 2583bb6..450f55b 100644
> --- a/pyanaconda/packaging/yumpayload.py
> +++ b/pyanaconda/packaging/yumpayload.py
> @@ -266,6 +266,10 @@ reposdir=/etc/yum.repos.d,/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/t
>                  # if a method/repo was given, disable all default repos
>                  self.disableRepo(repo.id)
>  
> +        self._applyYumSelections()
> +        self.release()
> +
> +    def gatherRepoMetadata(self):
>          # now go through and get metadata for all enabled repos
>          for repo_id in self.repos:
>              repo = self._yum.repos.getRepo(repo_id)

You'll also want a gatherRepoMetadata method on the base class.

And I guess I need to look around at where this needs to be called.
Thanks for looking into it.

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]