upload.py customized to work with codereviews.googleopensourceprograms.com.
--- a/thirdparty/rietveld/upload.py Tue Sep 16 01:18:15 2008 +0000
+++ b/thirdparty/rietveld/upload.py Tue Sep 16 01:18:49 2008 +0000
@@ -156,7 +156,7 @@
"Passwd": password,
"service": "ah",
"source": "rietveld-codereview-upload",
- "accountType": "GOOGLE",
+ "accountType": "HOSTED_OR_GOOGLE",
})
)
try:
@@ -367,10 +367,10 @@
# Review server
group = parser.add_option_group("Review server options")
group.add_option("-s", "--server", action="store", dest="server",
- default="codereview.appspot.com",
+ default="codereviews.googleopensourceprograms.com",
metavar="SERVER",
help=("The server to upload to. The format is host[:port]. "
- "Defaults to 'codereview.appspot.com'."))
+ "Defaults to 'codereviews.googleopensourceprograms.com'."))
group.add_option("-e", "--email", action="store", dest="email",
metavar="EMAIL", default=None,
help="The username to use. Will prompt if omitted.")