~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2011-08-12 09:49:24 UTC
  • mfrom: (6015.9.10 2.4)
  • mto: This revision was merged to the branch mainline in revision 6066.
  • Revision ID: v.ladeuil+lp@free.fr-20110812094924-knc5s0g7vs31a2f1
Merge 2.4 into trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
    :return: If this isn't a packaging branch, return None. If it is, return
480
480
        (archive, series, project)
481
481
    """
 
482
    if url is None:
 
483
        return None
482
484
    m = _package_branch.search(url)
483
485
    if m is None:
484
 
        return
 
486
        return None
485
487
    archive, series, project, user = m.group('archive', 'series',
486
488
                                             'project', 'user')
487
489
    if series is not None: