Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Unified Diff: third_party/gsutil/third_party/apitools/apitools/base/py/batch.py

Issue 1380943003: Roll version of gsutil to 4.15. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/gsutil/third_party/apitools/apitools/base/py/batch.py
diff --git a/third_party/gsutil/third_party/apitools/apitools/base/py/batch.py b/third_party/gsutil/third_party/apitools/apitools/base/py/batch.py
old mode 100755
new mode 100644
index 4910d4ac60ae418c49ce8b472b62383ace969349..2cf03a43ed039b70e47f8eb40f14cd784d526f21
--- a/third_party/gsutil/third_party/apitools/apitools/base/py/batch.py
+++ b/third_party/gsutil/third_party/apitools/apitools/base/py/batch.py
@@ -321,11 +321,6 @@ class BatchHttpRequest(object):
gen.flatten(msg, unixfrom=False)
body = str_io.getvalue()
- # Strip off the \n\n that the MIME lib tacks onto the end of the
- # payload.
- if request.body is None:
- body = body[:-2]
-
return status_line + body
def _DeserializeResponse(self, payload):

Powered by Google App Engine
This is Rietveld 408576698