~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/model/binarypackagename.py

  • Committer: Curtis Hovey
  • Date: 2011-12-22 17:24:23 UTC
  • mto: This revision was merged to the branch mainline in revision 14585.
  • Revision ID: curtis.hovey@canonical.com-20111222172423-b0hyny6w944eewhz
Fixed doc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    implements(IBinaryPackageNameSet)
59
59
 
60
60
    def __getitem__(self, name):
61
 
        """See canonical.launchpad.interfaces.IBinaryPackageNameSet."""
 
61
        """See `IBinaryPackageNameSet`."""
62
62
        try:
63
63
            return BinaryPackageName.byName(name)
64
64
        except SQLObjectNotFound:
65
65
            raise NotFoundError(name)
66
66
 
67
67
    def getAll(self):
68
 
        """See canonical.launchpad.interfaces.IBinaryPackageNameSet."""
 
68
        """See `IBinaryPackageNameSet`."""
69
69
        return BinaryPackageName.select()
70
70
 
71
71
    def findByName(self, name):