On Tue, 21 Jul 2009, James Antill wrote:
--- yum/repos.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/yum/repos.py b/yum/repos.py index ac3e197..32d3426 100644 --- a/yum/repos.py +++ b/yum/repos.py @@ -97,6 +97,7 @@ class RepoStorage: raise Errors.DuplicateRepoError, 'Repository %s is listed more than once in the configuration' % (repoobj.id) self.repos[repoobj.id] = repoobj if hasattr(repoobj, 'quick_enable_disable'): + self.quick_enable_disable.update(repoobj.quick_enable_disable) repoobj.quick_enable_disable = self.quick_enable_disable else: self._cache_enabled_repos = None 1.6.2.5
why are we setting repoobj.quick_enable_disable if we just checked if it already has it? Does the update() call not update all references to it?
other than that it looks fine. -sv _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel