From 92c817927ab089dd85d4de02229862f6fce09d24 Mon Sep 17 00:00:00 2001 From: Debian Python Team Date: Mon, 23 May 2022 11:21:07 +0100 Subject: [PATCH] _zeroconf__fix_deprecation_warning_with_python_3_10 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit # HG changeset patch # User Julien Cristau # Date 1649276989 -7200 # Wed Apr 06 22:29:49 2022 +0200 # Node ID ff73927e33968c053bc245884deddb78f5fb6212 # Parent b6f535f3beda19406d5f869f5a3ba33f04bf7aa0 zeroconf: fix deprecation warning with python 3.10 threading.condition.notifyAll → threading.condition.notify_all Differential Revision: https://phab.mercurial-scm.org/D12487 Gbp-Pq: Topic py310 Gbp-Pq: Name 1_zeroconf__fix_deprecation_warning_with_python_3_10.patch --- hgext/zeroconf/Zeroconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hgext/zeroconf/Zeroconf.py b/hgext/zeroconf/Zeroconf.py index 343873a..b6b9a41 100644 --- a/hgext/zeroconf/Zeroconf.py +++ b/hgext/zeroconf/Zeroconf.py @@ -1461,7 +1461,7 @@ class Zeroconf(object): 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): -- 2.30.2