aboutsummaryrefslogtreecommitdiff
path: root/infra/retry.py
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-01-21 16:21:17 -0800
committerGitHub <noreply@github.com>2021-01-21 16:21:17 -0800
commit648242fdb4ac6ee869792c4e4ca11656aed03863 (patch)
tree6a64694403e5548b0c0538ba1ba8310aaab13f8e /infra/retry.py
parent5b51cfb00f89d127a561aa26d5eb122c3bce063f (diff)
downloadoss-fuzz-648242fdb4ac6ee869792c4e4ca11656aed03863.tar.gz
[pylint] Enable no-member check (#5034)
Diffstat (limited to 'infra/retry.py')
-rw-r--r--infra/retry.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/infra/retry.py b/infra/retry.py
index 293da998e..1a94180c6 100644
--- a/infra/retry.py
+++ b/infra/retry.py
@@ -62,9 +62,8 @@ def wrap(retries,
sleep(get_delay(num_try, delay, backoff))
return True
- logging.log_error('Retrying on %s failed with %s. Raise.' %
- (function_with_type, sys.exc_info()[1]),
- total=tries)
+ logging.error('Retrying on %s failed with %s. Raise.', function_with_type,
+ sys.exc_info()[1])
return False
@functools.wraps(func)