changeset 42387:91452f62dd53

verify: use self._err not self.err, it changed in 7eaf4b1ac2a3 Differential Revision: https://phab.mercurial-scm.org/D6451
author Kyle Lippincott <spectral@google.com>
date Tue, 28 May 2019 16:12:11 -0700
parents 15d5a2de44aa
children 04eb3c5607af
files mercurial/verify.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/verify.py	Tue May 28 23:22:46 2019 -0700
+++ b/mercurial/verify.py	Tue May 28 16:12:11 2019 -0700
@@ -97,9 +97,9 @@
 
         d = obj.checksize()
         if d[0]:
-            self.err(None, _("data length off by %d bytes") % d[0], name)
+            self._err(None, _("data length off by %d bytes") % d[0], name)
         if d[1]:
-            self.err(None, _("index contains %d extra bytes") % d[1], name)
+            self._err(None, _("index contains %d extra bytes") % d[1], name)
 
         if obj.version != revlog.REVLOGV0:
             if not self.revlogv1: