Mercurial > hg
comparison mercurial/obsolete.py @ 51688:25e7f9dcad0f
zeroconf: fix boolean return value
This was (wrongly) flagged by Pytype as being undefined since it doesn't
seem to understand `try` blocks. However, the caller is expecting a boolean
and the fix to appease Pytype is simple, so we do both.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:02:01 +0200 |
parents | a0f1378b932e |
children | b8647465b59a 493034cc3265 e68fe567a780 |
comparison
equal
deleted
inserted
replaced
51687:1eab9e40c0c8 | 51688:25e7f9dcad0f |
---|