/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/bzr/smart/ping.py

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-11 20:19:38 UTC
  • mfrom: (7526.3.2 work)
  • Revision ID: gustav.hartvigsson@gmail.com-20210111201938-omr9wjz3qdgyxe8k
MergedĀ lp:brz

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        try:
42
42
            medium = transport.get_smart_medium()
43
43
        except errors.NoSmartMedium as e:
44
 
            raise errors.BzrCommandError(str(e))
 
44
            raise errors.CommandError(str(e))
45
45
        client = _SmartClient(medium)
46
46
        # Use call_expecting_body (even though we don't expect a body) so that
47
47
        # we can see the response headers (if any) via the handler object.