/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/gitlab/hoster.py

Avoid use of reserved 'msg' argument for BrzError.

Merged from https://code.launchpad.net/~jelmer/brz/fork-error-msg/+merge/388101

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
 
103
103
class GitLabConflict(errors.BzrError):
104
104
 
105
 
    _fmt = "Conflict during operation: %(msg)s"
 
105
    _fmt = "Conflict during operation: %(reason)s"
106
106
 
107
 
    def __init__(self, msg):
108
 
        errors.BzrError(self, msg=msg)
 
107
    def __init__(self, reason):
 
108
        errors.BzrError(self, reason=reason)
109
109
 
110
110
 
111
111
class ForkingDisabled(errors.BzrError):