[Piuparts-devel] faster-rdep-calc/rdep-chain-len
    Andreas Beckmann 
    anbe at debian.org
       
    Mon Apr  8 10:28:02 UTC 2013
    
    
  
Hi Dave,
I just saw
  29c715f18 packagesdb.py - Use the first provider for virtual pkgs in
            rdep calc.
and finally added a resolve_virtual flag to get_package. So we can get
rid of one copy and avoid introducing a third copy of that code.
Currently being tested in my noon run, not yet pushed somewhere.
So all you'll need to do is
dep_pkg = self.get_package(dep, recurse=True, resolve_virtual=True)
if not dep_pkg is None:
	dep = dep_pkg['Package']
Andreas
    
    
More information about the Piuparts-devel
mailing list