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

Unified Diff: rietveld.py

Issue 933373004: Fix a bug in setting maxtries (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rietveld.py
diff --git a/rietveld.py b/rietveld.py
index c64235bb88fd6b94c32ec23892ccd3ef40de786f..e36d2cd3a925b8d0c7ba4a8a8fc79268431f6f05 100644
--- a/rietveld.py
+++ b/rietveld.py
@@ -600,7 +600,7 @@ class JwtOAuth2Rietveld(Rietveld):
self._xsrf_token = None
self._xsrf_token_time = None
- self._maxtries = 40 or maxtries
+ self._maxtries = maxtries or 40
class CachingRietveld(Rietveld):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698