errors: let ParseError use Abort.__bytes__
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 20 Nov 2020 13:55:32 -0800
changeset 45890 68260c444fd3
parent 45889 e5a0efd26f7a
child 45891 da178b816812
errors: let ParseError use Abort.__bytes__ The function is no longer used anywhere as far as our tests can tell, so there's no need to have a custom version of it. Differential Revision: https://phab.mercurial-scm.org/D9353
mercurial/error.py
--- a/mercurial/error.py	Fri Nov 20 10:31:56 2020 -0800
+++ b/mercurial/error.py	Fri Nov 20 13:55:32 2020 -0800
@@ -272,8 +272,6 @@
         else:
             Exception.__init__(self, message)
 
-    __bytes__ = _tobytes
-
     def format(self):
         from .i18n import _