Stuart Prescott <stu...@debian.org> writes:

> Control: tags -1 patch
>
>
> In [2]: def whatmade(name, cat): 
>   ...:     p = [pkg for pkg in cat if pkg['Package'] == name][0] 
>   ...:     print("Source %s/%s made binary %s/%s" % ( 
>   ...:         p.source, 
>   ...:         p.source_version, 
>   ...:         p['Package'], 
>   ...:         p.get_version(), 
>   ...:     )) 
>

Yes, that seems like it would work for my use case.

d

Reply via email to