Index: rietveld.py |
diff --git a/rietveld.py b/rietveld.py |
index 4b70ec3a16d3357cf83d41ee5be103a3ac642483..88a1b29aea875690e20159c0613fbfe04c1cdb82 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 |