[Yum] yum: rpmUtils module does not contain transaction?

Felix Schwarz felix.schwarz at web.de
Sun Dec 21 09:47:42 UTC 2008


James Antill wrote:
>  It's kind of a magic python thing, if python sees:
> 
> import rpmUtils.transaction
> 
> ...in _any_ module, then it "knows" in all other modules that it
> exists. So you if you "import yum", before you import rpmUtils then
> you don't need to do the above.

Thanks for your explanation. Now I see what yum does different and why 
it does not work in the other program. I'll send a patch to them so 
it'll work there too.

fs



More information about the Yum mailing list