diff mercurial/error.py @ 45890:68260c444fd3

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
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 20 Nov 2020 13:55:32 -0800
parents 7eb221b9af6c
children da178b816812
line wrap: on
line diff
--- 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 _