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

Unified Diff: tools/telemetry/third_party/gsutilz/third_party/apitools/apitools/base/py/batch.py

Issue 1376593003: Roll gsutil version to 4.15. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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: tools/telemetry/third_party/gsutilz/third_party/apitools/apitools/base/py/batch.py
diff --git a/tools/telemetry/third_party/gsutilz/third_party/apitools/apitools/base/py/batch.py b/tools/telemetry/third_party/gsutilz/third_party/apitools/apitools/base/py/batch.py
old mode 100755
new mode 100644
index 4910d4ac60ae418c49ce8b472b62383ace969349..2cf03a43ed039b70e47f8eb40f14cd784d526f21
--- a/tools/telemetry/third_party/gsutilz/third_party/apitools/apitools/base/py/batch.py
+++ b/tools/telemetry/third_party/gsutilz/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