pep8: Add compliance with rule E261 timeout.py.

This commit is contained in:
Aditya Bansal 2017-06-04 15:06:29 +05:30
parent 1be11cbb56
commit b99d62d337
1 changed files with 1 additions and 1 deletions

View File

@ -92,5 +92,5 @@ def timeout(timeout, func, *args, **kwargs):
# Raise the original stack trace so our error messages are more useful.
# from http://stackoverflow.com/a/4785766/90777
six.reraise(thread.exc_info[0], thread.exc_info[1], thread.exc_info[2])
assert thread.result is not None # assured if above did not reraise
assert thread.result is not None # assured if above did not reraise
return thread.result