Skip to content

Commit 46026e5

Browse files
committed
Raise correct exception
1 parent fe662c5 commit 46026e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/async_utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
__author__ = "Michael Hall"
1010
__license__ = "Apache-2.0"
1111
__copyright__ = "Copyright 2020-Present Michael Hall"
12-
__version__ = "2025.05.3b"
12+
__version__ = "2025.05.16b"
1313

1414
import os
1515
import sys

src/async_utils/_qs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def sync_get(self, /, *, blocking: bool = True, timeout: float | None = None) ->
450450
try:
451451
if not success:
452452
if not blocking:
453-
raise QueueFull
453+
raise QueueEmpty
454454

455455
event = ThreadingEvent()
456456
waiters.append(event)

0 commit comments

Comments
 (0)