Patchwork D12487: zeroconf: fix deprecation warning with python 3.10

login
register
mail settings
Submitter phabricator
Date April 9, 2022, 12:44 p.m.
Message ID <differential-rev-PHID-DREV-k4rmb5owvcigf77hlweb-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50833/
State New
Headers show

Comments

Patch

diff --git a/hgext/zeroconf/Zeroconf.py b/hgext/zeroconf/Zeroconf.py
--- a/hgext/zeroconf/Zeroconf.py
+++ b/hgext/zeroconf/Zeroconf.py
@@ -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):