zeroconf: fix deprecation warning with python 3.10
threading.condition.notifyAll → threading.condition.notify_all
Differential Revision: https://phab.mercurial-scm.org/D12487
--- a/hgext/zeroconf/Zeroconf.py Mon Apr 11 11:14:55 2022 +0200
+++ b/hgext/zeroconf/Zeroconf.py Wed Apr 06 22:29:49 2022 +0200
@@ -1459,7 +1459,7 @@
def notifyAll(self):
"""Notifies all waiting threads"""
self.condition.acquire()
- self.condition.notifyAll()
+ self.condition.notify_all()
self.condition.release()
def getServiceInfo(self, type, name, timeout=3000):