Index: rietveld.py |
diff --git a/rietveld.py b/rietveld.py |
index e296181ade2130e366cd904bf1a35ba483fe9b06..0af88006e8a8871e55258ca203ae184b1e77c6bc 100644 |
--- a/rietveld.py |
+++ b/rietveld.py |
@@ -30,6 +30,8 @@ from third_party import upload |
import third_party.oauth2client.client as oa2client |
from third_party import httplib2 |
+# appengine replies with 302 when authentication fails (sigh) |
Ryan Tseng
2014/04/17 17:10:40
nit: s/appengine/Appengine/g
Also add period.
pgervais
2014/04/17 17:28:00
Done.
|
+oa2client.REFRESH_STATUS_CODES = [302, 401] |
Ryan Tseng
2014/04/17 17:10:40
Use oa2client.REFRESH_STATUS_CODES.append(302) ins
pgervais
2014/04/17 17:28:00
Done.
M-A Ruel
2014/04/17 19:12:47
You forgot to upload a new version.
|
upload.LOGGER.setLevel(logging.WARNING) # pylint: disable=E1103 |