[Updated] D12487: zeroconf: fix deprecation warning with python 3.10

jcristau (Julien Cristau) phabricator at mercurial-scm.org
Tue Apr 12 14:48:00 UTC 2022


Closed by commit rHG7d1daa1ef286: zeroconf: fix deprecation warning with python 3.10 (authored by jcristau).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D12487?vs=32993&id=33017

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D12487/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D12487

AFFECTED FILES
  hgext/zeroconf/Zeroconf.py

CHANGE DETAILS

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):



To: jcristau, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220412/515ef86b/attachment-0002.html>


More information about the Mercurial-patches mailing list