From db98b6ee2001db04bd2946c92906b2a45f0b9dc6 Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Thu, 19 Feb 2015 11:42:45 +0000 Subject: [PATCH] Fix a bug in setting maxtries Noticed by Jens Widell in https://codereview.chromium.org/932333003/ TBR=maruel BUG=459855 Review URL: https://codereview.chromium.org/933373004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294123 0039d316-1c4b-4281-b951-d872f2087c98 --- rietveld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rietveld.py b/rietveld.py index c64235bb8..e36d2cd3a 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):