[Piuparts-devel] pull: for-holger - fix for Get (virtual) package

Andreas Beckmann anbe at debian.org
Tue Apr 9 22:43:40 UTC 2013


On 2013-04-09 18:03, Dave Steele wrote:
> I'd guess that resolve_virtual should be processed before recurse,
> Should virtual be passed to the dependency call?

No, First we try to find a real package named "name", either in
ourselves or in our dependencies (if recursion is on). Only if that
failed we retry with virtual ones, respecting the recursion setting.


Andreas Beckmann (1):
      lib/db: fix resolving virtual packages

Fixed by s/elif/if/ - the following if won't be reached if a package was
return'ed beforehand, so no need to build up a nasty if/else nesting


Andreas



More information about the Piuparts-devel mailing list