/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 bzrlib/plugins/bash_completion/bashcomp.py

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 15:38:26 UTC
  • mto: (6621.2.1 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205153826-rnrd0m3iqoizqvrw
Apply 2to3 except fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
            if enum_data:
374
374
                try:
375
375
                    enum_data.registry_keys = opt.registry.keys()
376
 
                except ImportError, e:
 
376
                except ImportError as e:
377
377
                    enum_data.error_messages.append(
378
378
                        "ERROR getting registry keys for '--%s': %s"
379
379
                        % (opt.name, str(e).split('\n')[0]))