# HG changeset patch # User Anton Shestakov # Date 1704052766 10800 # Node ID b669ded0fe00c9ac193335ef6b5f634c335f1c77 # Parent 5efde4e19eb7084db12a3450535765b38b14a40c topic: assert repo reference is not immediately None to help pytype diff -r 5efde4e19eb7 -r b669ded0fe00 hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py Thu Dec 28 14:19:54 2023 -0300 +++ b/hgext3rd/topic/__init__.py Sun Dec 31 16:59:26 2023 -0300 @@ -885,6 +885,7 @@ def _validate_affected_tns(tr2): repo = reporef() + assert repo is not None # help pytype find_affected_tns(repo, tr2) def validator(tr2):