From 2c9f699ffd2bd973ec288d8c7d2ec84ee97061db Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sun, 21 Aug 2022 08:06:10 -0700 Subject: [PATCH] Use non-deprecated name for `notify_all` `notifyAll` was deprecated in: https://github.com/python/cpython/issues/87889 The new name, `notify_all`, has been available since Python 3.0. --- beets/util/pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beets/util/pipeline.py b/beets/util/pipeline.py index d338cb51b..f4cc23819 100644 --- a/beets/util/pipeline.py +++ b/beets/util/pipeline.py @@ -75,8 +75,8 @@ def _invalidate_queue(q, val=None, sync=True): q._qsize = _qsize q._put = _put q._get = _get - q.not_empty.notifyAll() - q.not_full.notifyAll() + q.not_empty.notify_all() + q.not_full.notify_all() finally: if sync: