/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/launchpad/lp_api.py

  • Committer: Jelmer Vernooij
  • Date: 2018-09-14 02:27:01 UTC
  • mfrom: (7058.4.35 drop-flapping)
  • mto: This revision was merged to the branch mainline in revision 7111.
  • Revision ID: jelmer@jelmer.uk-20180914022701-8g20odsp0bnxln7w
merge drop-flapping.

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
            return False
183
183
        if url.startswith('lp:'):
184
184
            return True
185
 
        regex = re.compile('([a-z]*\+)*(bzr\+ssh|http)'
 
185
        regex = re.compile('([a-z]*\\+)*(bzr\\+ssh|http)'
186
186
                           '://bazaar.*.launchpad.net')
187
187
        return bool(regex.match(url))
188
188