# HG changeset patch # User Anton Shestakov # Date 1703618538 10800 # Node ID b162b76a1ee990733675aa3cd8ee35e7c12b6496 # Parent 9107d91de94ec2916b53e18b57895fa2126ca7fd topic: let pytype ignore wireprotov1peer.future attribute if it's not there The safehasattr() check is already done previously, so we're good. diff -r 9107d91de94e -r b162b76a1ee9 hgext3rd/topic/server.py --- a/hgext3rd/topic/server.py Sun Dec 17 12:44:22 2023 -0300 +++ b/hgext3rd/topic/server.py Tue Dec 26 16:22:18 2023 -0300 @@ -113,7 +113,7 @@ """ wirepeer that uses `future` class from before c424ff4807e6 """ @wireprotov1peer.batchable def tns_heads(self, namespaces): - f = wireprotov1peer.future() + f = wireprotov1peer.future() # pytype: disable=module-attr yield {b'namespaces': wireprototypes.encodelist(namespaces)}, f d = f.value try: