changeset 45775:5bb900885311

errors: remove unnecessary override of __bytes__ in RevlogError StorageError already provides the same definition. Differential Revision: https://phab.mercurial-scm.org/D9234
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 20 Oct 2020 08:58:20 -0700
parents 450e17e59603
children 0fc8b066928a
files mercurial/error.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):