~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/browser/binarypackagerelease.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-03 05:05:39 UTC
  • mfrom: (14514.3.5 new-python-apt)
  • Revision ID: launchpad@pqm.canonical.com-20120103050539-y6ipuo5e9illcrsr
[r=benji][bug=551510] Port to new python-apt API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    'BinaryPackageView',
9
9
    ]
10
10
 
11
 
from apt_pkg import ParseDepends
 
11
from apt_pkg import parse_depends
12
12
 
13
13
from lp.services.webapp import Navigation
14
14
from lp.soyuz.browser.packagerelationship import relationship_builder
33
33
        IDistroArchSeries.getBinaryPackage as 'getter'.
34
34
        """
35
35
        getter = self.context.build.distro_arch_series.getBinaryPackage
36
 
        parser = ParseDepends
 
36
        parser = parse_depends
37
37
        return relationship_builder(content, parser=parser, getter=getter)
38
38
 
39
39
    def depends(self):