mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
pep8: Add compliance with rule E261 to timeout.py.
This commit is contained in:
committed by
Tim Abbott
parent
6ad22f4092
commit
76d28a7cc7
@@ -41,8 +41,8 @@ def timeout(timeout, func, *args, **kwargs):
|
||||
def __init__(self):
|
||||
# type: () -> None
|
||||
threading.Thread.__init__(self)
|
||||
self.result = None # type: Optional[ResultT]
|
||||
self.exc_info = None # type: Optional[Tuple[Type[BaseException], BaseException, TracebackType]]
|
||||
self.result = None # type: Optional[ResultT]
|
||||
self.exc_info = None # type: Optional[Tuple[Type[BaseException], BaseException, TracebackType]]
|
||||
|
||||
# Don't block the whole program from exiting
|
||||
# if this is the only thread left.
|
||||
|
||||
Reference in New Issue
Block a user