enable black on fdroidserver/asynchronousfilereader/__init__.py

This commit is contained in:
Hans-Christoph Steiner 2023-04-24 15:19:07 +02:00
parent 2273d8203b
commit 32ea4ef19a
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -12,6 +12,7 @@ Copyright (c) 2014 Stefaan Lippens
__version__ = '0.2.1'
import threading
try:
# Python 2
from Queue import Queue
@ -53,4 +54,3 @@ class AsynchronousFileReader(threading.Thread):
"""Get currently available lines."""
while not self.queue.empty():
yield self.queue.get()