[Yum-devel] [PATCH] Problem with doUpdateSetup & doTsSetup

Menno Smits menno-yum at freshfoo.com
Mon Sep 4 16:39:15 UTC 2006


Tim Lauridsen wrote:
> 
> This change introduce some problems with doUpdateSetup & doTsSetup they 
> will not setup self.up & self.ts if called after
> closedRpmDB has been called.
> I have created a patch to solve the issue.
>

Thanks for the patch Tim. I've just committed a change which deals with 
the issue differently. Instead of the attributes of YumBase not existing 
sometimes, requiring hasattr checks, they are now all initialised to 
None. This is much cleaner IMHO.

Let me know if you see any problems.

Menno



More information about the Yum-devel mailing list