Skip to content

Commit

Permalink
Use non-deprecated name for notify_all
Browse files Browse the repository at this point in the history
`notifyAll` was deprecated in:
python/cpython#87889

The new name, `notify_all`, has been available since Python 3.0.
  • Loading branch information
sampsyo committed Aug 21, 2022
1 parent 6e0f7a1 commit 2c9f699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beets/util/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def _get():
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:
Expand Down

0 comments on commit 2c9f699

Please sign in to comment.