~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-12 16:12:23 UTC
  • mfrom: (6060.2.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20110812161223-hfvwsgbtb9vype5r
(vila) Merge 2.4 into trunk (Vincent Ladeuil)

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: