/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/propose/launchpad.py

Release 3.0.1

Merged from https://code.launchpad.net/~vila/brz/3.0.1/+merge/368887

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
        return False
73
73
    if url.startswith('lp:'):
74
74
        return True
75
 
    regex = re.compile('([a-z]*\+)*(bzr\+ssh|http|ssh|git|https)'
76
 
                       '://(bazaar|git).*.launchpad.net')
 
75
    regex = re.compile(r'([a-z]*\+)*(bzr\+ssh|http|ssh|git|https)'
 
76
                       r'://(bazaar|git).*.launchpad.net')
77
77
    return bool(regex.match(url))
78
78
 
79
79