summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-05-29 11:21:49 -0400
committerShea Levy <shea@shealevy.com>2015-05-29 11:21:49 -0400
commiteb0a21a51208927730607fd9166912d3f8e05435 (patch)
treeaff604155476fca4b6385a960d018a2ac9aded97 /pkgs/development/python-modules
parent1b93d6416872fd88bb96cc57d2a03e0b850138c6 (diff)
downloadnixpkgs-eb0a21a51208927730607fd9166912d3f8e05435.tar
nixpkgs-eb0a21a51208927730607fd9166912d3f8e05435.tar.gz
nixpkgs-eb0a21a51208927730607fd9166912d3f8e05435.tar.bz2
nixpkgs-eb0a21a51208927730607fd9166912d3f8e05435.tar.lz
nixpkgs-eb0a21a51208927730607fd9166912d3f8e05435.tar.xz
nixpkgs-eb0a21a51208927730607fd9166912d3f8e05435.tar.zst
nixpkgs-eb0a21a51208927730607fd9166912d3f8e05435.zip
boto: Remove obsolete patch
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/boto/content-length-str.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/boto/content-length-str.patch b/pkgs/development/python-modules/boto/content-length-str.patch
deleted file mode 100644
index 7895e223c6b..00000000000
--- a/pkgs/development/python-modules/boto/content-length-str.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Cherry-picked from https://github.com/boto/boto/pull/2932
-
-This fix is required for things like docker-registry to interact with S3. Will
-be obsolete after the next boto release (> 2.36.0)
-
---- a/boto/connection.py
-+++ b/boto/connection.py
-@@ -381,7 +381,7 @@ class HTTPRequest(object):
-         if 'Content-Length' not in self.headers:
-             if 'Transfer-Encoding' not in self.headers or \
-                     self.headers['Transfer-Encoding'] != 'chunked':
--                self.headers['Content-Length'] = len(self.body)
-+                self.headers['Content-Length'] = str(len(self.body))
-
-
- class HTTPResponse(http_client.HTTPResponse):