~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

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: