Merge #1468: tests: notifyAll() is deprecated, replace w/ notify_all()

5c088b2eb69bdc6f868131a60c46ac4a219d2cb5 tests: notifyAll() is deprecated, replace w/ notify_all() (pythcoiner)

Pull request description:

  closes #1253

ACKs for top commit:
  edouardparis:
    ACK 5c088b2eb69bdc6f868131a60c46ac4a219d2cb5

Tree-SHA512: 86e87277b77aa3be3159cb4337bedaf5206cac6d1610e93c9ec0c4223e00791d121bdd49fc60a08e18c0d983e6c4e8efd76046bcab78459073101ae775f9c54e
This commit is contained in:
edouardparis 2024-11-18 11:51:02 +01:00
commit d83f34c876
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

View File

@ -372,7 +372,7 @@ class TailableProc(object):
logging.debug(f"{self.prefix}: {line.decode().rstrip()}")
with self.logs_cond:
self.logs.append(str(line.rstrip()))
self.logs_cond.notifyAll()
self.logs_cond.notify_all()
self.running = False
self.proc.stdout.close()
if self.proc.stderr is not None: