~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/doc/distroseries.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:
318
318
    >>> humpy = ubuntu.newSeries('humpy', 'Humpy Hippo',
319
319
    ...                          'The Humpy Hippo', 'Fat', 'Yo Momma',
320
320
    ...                          '99.2', None, hoary.owner)
321
 
    >>> ids = InitialiseDistroSeries(humpy, [hoary.id])
 
321
    >>> ids = InitialiseDistroSeries(hoary, humpy)
322
322
    >>> ids.initialise()
323
323
    >>> hoary.getPublishedSources('pmount').count()
324
324
    1
352
352
    >>> bumpy = ubuntu.newSeries('bumpy', 'Bumpy',
353
353
    ...                          'The Bumpy', 'Fat', 'Boom',
354
354
    ...                          '99.3', None, warty.owner)
355
 
    >>> ids = InitialiseDistroSeries(bumpy, [warty.id])
 
355
    >>> ids = InitialiseDistroSeries(warty, bumpy)
356
356
    >>> ids.initialise()
357
357
 
358
358
Build a new ISourcePackage based in the new distroseries: