Mercurial > hg-stable
changeset 46418:5137896602d9 stable
typing: add an assertion to verify.py to appease pytype
Differential Revision: https://phab.mercurial-scm.org/D10212
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 12 Mar 2021 23:28:56 -0500 |
parents | 914ca0a98518 |
children | d35063ebd761 |
files | mercurial/verify.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/verify.py Fri Mar 12 20:25:12 2021 -0500 +++ b/mercurial/verify.py Fri Mar 12 23:28:56 2021 -0500 @@ -434,6 +434,7 @@ filenodes.setdefault(f, {}).update(onefilenodes) if not dir and subdirnodes: + assert subdirprogress is not None # help pytype subdirprogress.complete() if self.warnorphanstorefiles: for f in sorted(storefiles):