~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/doc/distribution.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-05-23 18:43:31 UTC
  • mfrom: (13084.2.6 page-match-rewrite-url)
  • Revision ID: launchpad@pqm.canonical.com-20110523184331-dhd2c7cgfuu49epw
[r=sinzui][bug=784273] Adds facility to the PageMatch to handle bad
        URIs

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
It also works if we look for a package name which is the name of both
130
130
binary and source packages but for which only the source is published:
131
131
 
132
 
    >>> from lp.app.interfaces.launchpad import ILaunchpadCelebrities
 
132
    >>> from canonical.launchpad.interfaces.launchpad import ILaunchpadCelebrities
133
133
    >>> debian = getUtility(ILaunchpadCelebrities).debian
134
134
    >>> source_name, bin_name = debian.guessPackageNames('alsa-utils')
135
135
    >>> print bin_name