Index: rietveld.py |
diff --git a/rietveld.py b/rietveld.py |
index e296181ade2130e366cd904bf1a35ba483fe9b06..97dae6d083912203c27f48ef9f48478639cd9878 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.) |
+oa2client.REFRESH_STATUS_CODES.append(302) |
upload.LOGGER.setLevel(logging.WARNING) # pylint: disable=E1103 |