mirror of
https://github.com/beetbox/beets.git
synced 2025-12-11 19:16:07 +01:00
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.
This commit is contained in:
parent
6e0f7a1e68
commit
2c9f699ffd
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue