errors: remove unnecessary override of __bytes__ in RevlogError
authorMartin von Zweigbergk <martinvonz@google.com>
Tue, 20 Oct 2020 08:58:20 -0700
changeset 45775 5bb900885311
parent 45774 450e17e59603
child 45776 0fc8b066928a
errors: remove unnecessary override of __bytes__ in RevlogError StorageError already provides the same definition. Differential Revision: https://phab.mercurial-scm.org/D9234
mercurial/error.py
--- a/mercurial/error.py	Thu Oct 15 22:23:02 2020 -0700
+++ b/mercurial/error.py	Tue Oct 20 08:58:20 2020 -0700
@@ -48,7 +48,7 @@
 
 
 class RevlogError(StorageError):
-    __bytes__ = _tobytes
+    pass
 
 
 class SidedataHashError(RevlogError):