Patchwork D6451: verify: use self._err not self.err, it changed in 7eaf4b1ac2a3

login
register
mail settings
Submitter phabricator
Date May 28, 2019, 11:27 p.m.
Message ID <differential-rev-PHID-DREV-2vzgg25b6q53c5jxneco-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/40255/
State Superseded
Headers show

Comments

phabricator - May 28, 2019, 11:27 p.m.
spectral created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6451

AFFECTED FILES
  mercurial/verify.py

CHANGE DETAILS




To: spectral, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/verify.py b/mercurial/verify.py
--- a/mercurial/verify.py
+++ b/mercurial/verify.py
@@ -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: