/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/plugin.py

  • Committer: Jelmer Vernooij
  • Date: 2017-10-26 11:10:38 UTC
  • mfrom: (6791.2.7 python3)
  • Revision ID: jelmer@jelmer.uk-20171026111038-cvils4aykn7ffcju
Merge lp:~jelmer/brz/fix-imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
417
417
            trace.print_exception(sys.exc_info(), sys.stderr)
418
418
        # GZ 2017-06-02: Move this name checking up a level, no point trying
419
419
        # to import things with bad names.
420
 
        if re.search('\.|-| ', name):
 
420
        if re.search('\\.|-| ', name):
421
421
            sanitised_name = re.sub('[-. ]', '_', name)
422
422
            if sanitised_name.startswith('brz_'):
423
423
                sanitised_name = sanitised_name[len('brz_'):]