From 26540943679090076f5f68ae91c394415bbc5909 Mon Sep 17 00:00:00 2001 From: Christian Hammond Date: Wed, 10 Mar 2010 01:50:04 -0800 Subject: Revert the change to encode the uploaded content as UTF-8. 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. --- rbtools/postreview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3