changeset 45903 | 64faa55716f4 |
parent 45894 | 9dc1351d0b5f |
child 45915 | 8f50dc096cf4 |
--- a/mercurial/error.py Mon Nov 23 11:30:43 2020 -0800 +++ b/mercurial/error.py Mon Nov 23 11:56:10 2020 -0800 @@ -137,6 +137,10 @@ def __init__(self, status_code): self.status_code = status_code + # Pass status code to superclass just so it becomes part of __bytes__ + super(WorkerError, self).__init__(status_code) + + __bytes__ = _tobytes class InterventionRequired(Hint, Exception):