Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Silly higher order function fix. Mea culpa.

Signed-off-by: Daniel Farina <drfarina@acm.org>
  • Loading branch information...
commit 0148484f7a296ca39462db10f7b6e4f030911677 1 parent f8cfab2
Daniel Farina authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 wal_e/worker/s3_worker.py
View
4 wal_e/worker/s3_worker.py
@@ -122,7 +122,7 @@ def shim(*args, **kwargs):
def retry_with_count(side_effect_func):
- def internal(exc_tup, exc_processor_cxt):
+ def retry_with_count_internal(exc_tup, exc_processor_cxt):
"""
An exception processor that counts how many times it has retried
@@ -148,7 +148,7 @@ def increment_context(exc_processor_cxt):
return increment_context(exc_processor_cxt)
- return functools.wraps(internal)
+ return retry_with_count_internal
def uri_put_file(s3_uri, fp, content_encoding=None):
Please sign in to comment.
Something went wrong with that request. Please try again.