ignore this impossible-to-fix error

also link to a twisted bug report for making it possible
This commit is contained in:
Jean-Paul Calderone 2021-03-17 14:33:32 -04:00
parent aa92166859
commit 4c15db2019

@ -323,7 +323,7 @@ class AdoptedServerPort(object):
"""
prefix = "adopt-socket"
def parseStreamServer(self, reactor, fd):
def parseStreamServer(self, reactor, fd): # type: ignore # https://twistedmatrix.com/trac/ticket/10134
log.msg("Adopting {}".format(fd))
# AdoptedStreamServerEndpoint wants to own the file descriptor. It
# will duplicate it and then close the one we pass in. This means it