diff options
author | Christian Hammond <chipx86@chipx86.com> | 2010-03-10 01:50:04 -0800 |
---|---|---|
committer | Christian Hammond <chipx86@chipx86.com> | 2010-03-10 01:51:22 -0800 |
commit | 26540943679090076f5f68ae91c394415bbc5909 (patch) | |
tree | 5167aaf63f283813efdc21d8bff42d14f3b051a7 | |
parent | 665c6af5ad344af0d0b17e53ad93af30e9458a34 (diff) |
The change made to RC1 for fixing diff uploading in some cases actually
broke things. The content length was no longer correct, if we even could
encode to UTF-8. We now upload the raw bytes once again.
-rwxr-xr-x | rbtools/postreview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbtools/postreview.py b/rbtools/postreview.py index cff06be..2dccc7a 100755 --- a/rbtools/postreview.py +++ b/rbtools/postreview.py @@ -656,7 +656,7 @@ class ReviewBoardServer(object): content_type = "multipart/form-data; boundary=%s" % BOUNDARY - return content_type, content.encode('utf-8') + return content_type, content class SCMClient(object): |