storage/reflink: clarify comment

This commit is contained in:
Rusty Bird 2020-07-07 16:25:48 +00:00
parent e188b93c95
commit 1b09528740
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -42,9 +42,9 @@ LOGGER = logging.getLogger('qubes.storage.reflink')
def _coroutinized(function):
''' Decorator transforming a synchronous function into a coroutine
that runs the function in the event loop's thread-based
default executor.
''' Wrap a synchronous function in a coroutine that runs the
function via the event loop's ThreadPool-based default
executor.
'''
@asyncio.coroutine
@functools.wraps(function)