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

  • Committer: Breezy landing bot
  • Author(s): Gustav Hartvigsson
  • Date: 2021-01-10 18:46:30 UTC
  • mfrom: (7526.1.1 brz-removed-api-doc)
  • mto: This revision was merged to the branch mainline in revision 7532.
  • Revision ID: breezy.the.bot@gmail.com-20210110184630-dxu0g9dqq020uiw6
Drop documentation for removed API API.

Merged from https://code.launchpad.net/~gustav-hartvigsson/brz/removed-api-doc/+merge/396033

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
        type_list = '\n'.join(lines)
131
131
        msg = "No known merge type %s. Supported types are:\n%s" %\
132
132
            (typestring, type_list)
133
 
        raise errors.BzrCommandError(msg)
 
133
        raise errors.CommandError(msg)
134
134
 
135
135
 
136
136
class Option(object):
455
455
        self.formatter = GettextIndentedHelpFormatter()
456
456
 
457
457
    def error(self, message):
458
 
        raise errors.BzrCommandError(message)
 
458
        raise errors.CommandError(message)
459
459
 
460
460
 
461
461
class GettextIndentedHelpFormatter(optparse.IndentedHelpFormatter):