comparison hgext/fsmonitor/watchmanclient.py @ 49856:40d3ee570d83

watchman: refactor transport connecting to unconfuse pytype Pytype sees `self.proc` as potentially `None` here, even though it's set by the `_connect()` logic. Instead of asserting, simply use the process returned by that method (which it sets into `self.proc` before returning, so there's no functional change here).
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 05 Jan 2023 17:28:33 -0500
parents 642e31cb55f0
children d718eddf01d9
comparison
equal deleted inserted replaced
49855:36afe74e4439 49856:40d3ee570d83