I am not sure why post-review is unable to handle this. It is hanging
in recv in urllib2.urlopen(r).read() so I guess django just isn't
sending it the data. Currently I am working around this by kludging
the openerdirector to ignore http 302 codes.
-Jonathan
Christian Hammond
unread,
Jan 21, 2008, 4:42:45 AM1/21/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to revie...@googlegroups.com
Yeah, we need a dedicated publish API function. We're re-using/abusing the publish URL for review requests. urllib2 doesn't seem to be handling the redirect associated with this very well. So the correct solution is taking the publish view logic and putting it into an API function and updating the script. If someone wants to submit a patch, I'll commit it. Otherwise, I'll try to get to it in the next few days if I have time.