# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# 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
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):