Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: infra_libs/httplib2_utils.py

Issue 2127373005: Fix RetriableHttp (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix RetriableHttp Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | infra_libs/test/httplib2_utils_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra_libs/httplib2_utils.py
diff --git a/infra_libs/httplib2_utils.py b/infra_libs/httplib2_utils.py
index a637bd7ff8aa752cdba0f5529f4ba9c92d1b2de4..1a48a90805af775c5bd5d01d0b235cfcc3049ab3 100644
--- a/infra_libs/httplib2_utils.py
+++ b/infra_libs/httplib2_utils.py
@@ -206,7 +206,7 @@ class RetriableHttp(object):
return getattr(self._http, name)
def __setattr__(self, name, value):
- if name in ('_http', '_max_tries', '_retrying_statuses_fn'):
+ if name in ('request', '_http', '_max_tries', '_retrying_statuses_fn'):
self.__dict__[name] = value
else:
setattr(self._http, name, value)
« no previous file with comments | « no previous file | infra_libs/test/httplib2_utils_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698