OXIESEC PANEL
- Current Dir:
/
/
opt
/
gsutil
/
third_party
/
retry-decorator
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/09/2024 05:26:03 PM
rwxr-xr-x
📄
.gitignore
317 bytes
11/22/2013 05:35:36 AM
rw-r--r--
📄
CHANGES.txt
913 bytes
11/22/2013 05:35:36 AM
rw-r--r--
📄
LICENSE.txt
1.02 KB
11/22/2013 05:35:36 AM
rw-r--r--
📄
MANIFEST.in
53 bytes
11/22/2013 05:35:36 AM
rw-r--r--
📄
Makefile
240 bytes
11/22/2013 05:35:36 AM
rw-r--r--
📄
README.rst
466 bytes
11/22/2013 05:35:36 AM
rw-r--r--
📁
retry_decorator
-
12/11/2024 09:39:54 AM
rwxr-xr-x
📄
setup.py
589 bytes
11/22/2013 05:35:36 AM
rw-r--r--
Editing: README.rst
Close
Usage ----- Retry decorator :: #!/usr/bin/env python from __future__ import print_function from retry_decorator import * @retry(Exception, tries = 3, timeout_secs = 0.1) def test_retry(): import sys print('hello', file = sys.stderr) raise Exception('Testing retry') if __name__ == '__main__': try: test_retry() except Exception as e: print('Received the last exception')