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): def _coroutinized(function):
''' Decorator transforming a synchronous function into a coroutine ''' Wrap a synchronous function in a coroutine that runs the
that runs the function in the event loop's thread-based function via the event loop's ThreadPool-based default
default executor. executor.
''' '''
@asyncio.coroutine @asyncio.coroutine
@functools.wraps(function) @functools.wraps(function)