[PATCH] depsolve: avoid fragile join/split

Dan Kenigsberg danken at redhat.com
Fri Jan 31 10:33:47 UTC 2014

On Fri, Jan 31, 2014 at 01:34:54AM -0500, James Antill wrote:
> On Thu, 2014-01-30 at 09:10 +0000, Dan Kenigsberg wrote:
> > Currently, in a certain flow of
> > depsolve.Depsolve._requiringFromTransaction(), the code joins (name,
> > needflags, needversion) into an undelimited string, only to try to split
> > it back within misc.string_to_prco_tuple().
> > 
> > I would not claim that I understand the whole sequence, but please
> > consider taking this or something like it.
>  Added something like it upstream, passes "make check" for me. If you
> could run it on your testcase that'd be cool (git clone, and run 
> "./yummain.py blah")

I've patched my host's yum with that patch and it works for me. Thanks!

Would you backport it to Fedora (19, 20) and EL6 ?

More information about the Yum-devel mailing list