Mercurial > hg
diff hgext/zeroconf/Zeroconf.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 25e7f9dcad0f |
children | 97d013f48cae |
line wrap: on
line diff
--- a/hgext/zeroconf/Zeroconf.py Mon Jul 22 16:49:38 2024 +0200 +++ b/hgext/zeroconf/Zeroconf.py Tue Jul 23 10:02:46 2024 +0200 @@ -1307,7 +1307,6 @@ delay = _LISTENER_TIME next = now + delay last = now + timeout - result = False try: zeroconf.addListener( self, DNSQuestion(self.name, _TYPE_ANY, _CLASS_IN) @@ -1353,7 +1352,7 @@ zeroconf.wait(min(next, last) - now) now = currentTimeMillis() - result = True + result = 1 finally: zeroconf.removeListener(self)