mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
Fix lint.
This commit is contained in:
parent
63549c71ef
commit
6ce53000f0
@ -208,10 +208,9 @@ class WaitForDelayedCallsMixin(PollMixin):
|
||||
|
||||
@inline_callbacks
|
||||
def until(
|
||||
action, # type: Callable[[], defer.Deferred[Any]]
|
||||
condition, # type: Callable[[], bool]
|
||||
):
|
||||
# type: (...) -> defer.Deferred[None]
|
||||
action: Callable[[], defer.Deferred[Any]],
|
||||
condition: Callable[[], bool],
|
||||
) -> defer.Deferred[None]:
|
||||
"""
|
||||
Run a Deferred-returning function until a condition is true.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user