From 6a55573d588e4a817986c8964d97dceb8c46585a Mon Sep 17 00:00:00 2001 From: cyrus durgin Date: Thu, 10 Sep 2015 15:57:35 -0700 Subject: 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. --- AUTHORS.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'AUTHORS.rst') 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 -- cgit v1.2.1