# HG changeset patch # User Anton Shestakov # Date 1704142688 10800 # Node ID c3b3a0620f3bc8824811d0e9a7641b0c74de7f3f # Parent 757fdf2216a3b55688a86be17996e54603a78cde evolve: add missing _tiprev and _tipnode attributes to stablerangesqlbase They are used in this class' methods, but only are set in children classes. It rightfully made pytype complain, so let's add them here, even if it's not the most correct solution (that would be to rethink the inheritance layers between all this bunch of classes). diff -r 757fdf2216a3 -r c3b3a0620f3b hgext3rd/evolve/stablerangecache.py --- a/hgext3rd/evolve/stablerangecache.py Mon Jan 01 17:54:05 2024 -0300 +++ b/hgext3rd/evolve/stablerangecache.py Mon Jan 01 17:58:08 2024 -0300 @@ -174,6 +174,8 @@ __metaclass__ = abc.ABCMeta + _tiprev = None + _tipnode = None _schemaversion = None _cachefile = None