| Index: rietveld.py
|
| diff --git a/rietveld.py b/rietveld.py
|
| index 40be3c0eefcaf6d6516e72cc8e3304dd21e0fe6f..56e0a441912b038faefacf1fc1caf14f1eb6ddef 100644
|
| --- a/rietveld.py
|
| +++ b/rietveld.py
|
| @@ -42,6 +42,12 @@ class Rietveld(object):
|
| """Accesses rietveld."""
|
| def __init__(self, url, email, password, extra_headers=None):
|
| self.url = url
|
| + # 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
|
| + # email and the cookie.
|
| + self.email = email
|
| + self.password = password
|
| if email and password:
|
| get_creds = lambda: (email, password)
|
| self.rpc_server = upload.HttpRpcServer(
|
|
|