changeset 41865:5df8475c5343

verify: document the `exc` method Simple method, get simple documentation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 06 Mar 2019 11:31:10 +0100
parents 7eaf4b1ac2a3
children cfe08588d711
files mercurial/verify.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/verify.py	Wed Mar 06 11:27:37 2019 +0100
+++ b/mercurial/verify.py	Wed Mar 06 11:31:10 2019 +0100
@@ -70,6 +70,7 @@
         self.errors += 1
 
     def exc(self, linkrev, msg, inst, filename=None):
+        """record exception raised during the verify process"""
         fmsg = pycompat.bytestr(inst)
         if not fmsg:
             fmsg = pycompat.byterepr(inst)