diff mercurial/error.py @ 45798: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 d2e1dcd4490d
children 0fc8b066928a
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):