[Yum-devel] URL are accumulated in repoobjects.

seth vidal skvidal at linux.duke.edu
Mon Oct 2 12:48:13 UTC 2006


On Mon, 2006-10-02 at 14:45 +0200, Tim Lauridsen wrote:
> I was just testing the latest yum CVS with yumex, and i got some very 
> strange results.
> I found out that the current yum CVS accumulates the urls in repo object.
> 
> I added a print statement in doRepoSetup():
> 
>         for repo in repos:
>             repo.setup(self.conf.cache)
>             num += 1
>             print repo.dump()
> 
> 
> See attached output : out1.txt
> 
> I made some changes (yum-yumrepos-patch.txt) and it is working again. 
> (see. out2.txt)
> 
> I dont know if it the right way to fix it, it is very strange.

that patch looks reasonable to me, however how is it getting in there?
Don't we have a separate instance of YumRepo per repository?

-sv





More information about the Yum-devel mailing list