~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Curtis Hovey
  • Date: 2011-12-29 05:29:36 UTC
  • mto: This revision was merged to the branch mainline in revision 14606.
  • Revision ID: curtis.hovey@canonical.com-20111229052936-c261pibg1p6ze6m4
Moved canonical.config to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    'BinaryPackageView',
9
9
    ]
10
10
 
11
 
from apt_pkg import parse_depends
 
11
from apt_pkg import ParseDepends
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 = parse_depends
 
36
        parser = ParseDepends
37
37
        return relationship_builder(content, parser=parser, getter=getter)
38
38
 
39
39
    def depends(self):