"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "client/watchman.py" between
pyre-check-0.0.53.tar.gz and pyre-check-0.0.54.tar.gz

About: Pyre is a performant type checker for Python (ships with Pysa, a security focused static analysis tool).

watchman.py  (pyre-check-0.0.53):watchman.py  (pyre-check-0.0.54)
skipping to change at line 122 skipping to change at line 122
connection = self._watchman_client.recvConn connection = self._watchman_client.recvConn
if not connection: if not connection:
LOG.error( LOG.error(
f"Connection to Watchman for {self._name} not found", se lf._name f"Connection to Watchman for {self._name} not found", se lf._name
) )
sys.exit(1) sys.exit(1)
while self._alive: while self._alive:
# This call is blocking, which prevents this loop from burni ng CPU. # This call is blocking, which prevents this loop from burni ng CPU.
# pyre-fixme[16]: `None` has no attribute `receive`.
response = connection.receive() response = connection.receive()
if response.get("is_fresh_instance", False): if response.get("is_fresh_instance", False):
if not self._ready: if not self._ready:
root = response.get("root", "<no-root-found>") root = response.get("root", "<no-root-found>")
self._ready = True self._ready = True
LOG.info( LOG.info(
f"Ignoring initial is_fresh_instance message for {root}" f"Ignoring initial is_fresh_instance message for {root}"
) )
else: else:
raise WatchmanRestartedException() raise WatchmanRestartedException()
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)