/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/github/cmds.py

  • Committer: Jelmer Vernooij
  • Date: 2020-06-23 01:02:30 UTC
  • mfrom: (7490.40.27 work)
  • mto: This revision was merged to the branch mainline in revision 7517.
  • Revision ID: jelmer@jelmer.uk-20200623010230-62nnywznmb76h6ut
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
            if errs:
53
53
                err_code = errs[0].get('code')
54
54
                if err_code == u'already_exists':
55
 
                    raise errors.BzrCommandError('token already exists')
56
 
            raise errors.BzrCommandError(e.data['message'])
 
55
                    raise errors.CommandError('token already exists')
 
56
            raise errors.CommandError(e.data['message'])
57
57
        # TODO(jelmer): This should really use something in
58
58
        # AuthenticationConfig
59
59
        from .github import store_github_token