diff --git a/rietveld.py b/rietveld.py index 4b70ec3a1..88a1b29ae 100644 --- a/rietveld.py +++ b/rietveld.py @@ -40,6 +40,9 @@ class Rietveld(object): """Accesses rietveld.""" def __init__(self, url, email, password, extra_headers=None): self.url = url.rstrip('/') + # Email and password are accessed by commit queue, keep them. + self.email = email + self.password = password # TODO(maruel): It's not awesome but maybe necessary to retrieve the value. # It happens when the presubmit check is ran out of process, the cookie # needed to be recreated from the credentials. Instead, it should pass the