comparison hgext/bookflow.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 6000f5b25c9b
children 3c8a31be81df
comparison
equal deleted inserted replaced
49855:36afe74e4439 49856:40d3ee570d83