diff options
author | Dinu Gherman <gherman@darwin.in-berlin.de> | 2015-06-26 13:12:55 +0200 |
---|---|---|
committer | Dinu Gherman <gherman@darwin.in-berlin.de> | 2015-06-26 13:12:55 +0200 |
commit | 9565d41913beb93fe51d8c7eec955b0447ebe2d8 (patch) | |
tree | 97fa79649972b5a266fb9b90d7e314397cea6bcf | |
parent | 16b5d76e0d44454bf1763aa0fb4eab1581c2627a (diff) | |
download | timeout-decorator-9565d41913beb93fe51d8c7eec955b0447ebe2d8.tar.gz |
Added object baseclass for _Timeout class.
-rw-r--r-- | timeout_decorator/timeout_decorator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timeout_decorator/timeout_decorator.py b/timeout_decorator/timeout_decorator.py index 1f74012..0f12500 100644 --- a/timeout_decorator/timeout_decorator.py +++ b/timeout_decorator/timeout_decorator.py @@ -92,7 +92,7 @@ def _target(queue, function, *args, **kwargs): queue.put((False, sys.exc_info()[1])) -class _Timeout: +class _Timeout(object): """Wrap a function and add a timeout (limit) attribute to it. |