summaryrefslogtreecommitdiff
path: root/AUTHORS.rst
diff options
context:
space:
mode:
authorcyrus durgin <cyrusd@gmail.com>2015-09-10 15:57:35 -0700
committercyrus durgin <cyrusd@gmail.com>2015-09-10 15:57:35 -0700
commit6a55573d588e4a817986c8964d97dceb8c46585a (patch)
treec578059a5b8ac5d3adc7a8e2c92dfe82ca27b2ff /AUTHORS.rst
parentda33537e0850f997aea75c4dec010e2b5594071f (diff)
downloadretrying-6a55573d588e4a817986c8964d97dceb8c46585a.tar.gz
Adds two additional parameters to the Retrying() constructor:
_before_attempts _after_attempts Each of these should be a reference to a function that takes a single argument, attempt_number. _before_attempts will be called before each attempt is run; _after_attempts is run after any *unsuccessful* attempt. Handy for logging status messages, etc in between attempts.
Diffstat (limited to 'AUTHORS.rst')
-rw-r--r--AUTHORS.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS.rst b/AUTHORS.rst
index 9cb572f..42a456c 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -30,4 +30,5 @@ Patches and Suggestions
- Monty Taylor
- Maxym Shalenyi
- Jonathan Herriott
-- Job Evers \ No newline at end of file
+- Job Evers
+- Cyrus Durgin