summaryrefslogtreecommitdiff
path: root/dev-python/requests-toolbelt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-16 16:47:37 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-16 16:47:37 +0100
commit8aebb228036d5e2863b7eaa6e319ab41c1669269 (patch)
tree00f4b90ce32462dc8e99ae54a31d6462ea2c3ac6 /dev-python/requests-toolbelt
parent76cba73c47c8694e74377004634daca18f2d9c08 (diff)
gentoo resync : 16.04.2018
Diffstat (limited to 'dev-python/requests-toolbelt')
-rw-r--r--dev-python/requests-toolbelt/Manifest2
-rw-r--r--dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch27
2 files changed, 20 insertions, 9 deletions
diff --git a/dev-python/requests-toolbelt/Manifest b/dev-python/requests-toolbelt/Manifest
index af8a60c299f4..a380f831afde 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1,4 +1,4 @@
-AUX requests-toolbelt-0.8.0-test-tracebacks.patch 765 BLAKE2B 5abf111cb6622c692c5c319826b7171b345e5c2599ed226ba370de294f14d31aabdbe0506b7a8c8eac3129b44a674e5d9bda3a84c824aab672c3781c988866e6 SHA512 02068c988a19f8052f6397b9d0e0cd609f2ae1f6480c9e55d552c12794ebe5eda9530c2530d23f1b7fedb8b60961611d72db5b92dd9c892095d46b77adc5fec4
+AUX requests-toolbelt-0.8.0-test-tracebacks.patch 1428 BLAKE2B 6f9645f2a456cde3a080337c00697493958d9bfd424eef9b9998233336ccea06ecea345cd55ff1321939421bbbb5c7ea566de8ed3d5d8133d62083c80f2bc2a6 SHA512 22332dceb704750d1d6ca7d640251dacea764dbbda4e530977f6788e19c1d1a857471d8cd94d99465e146bc96be9c35b67a9608a31997725b6284e7c10117f8f
DIST requests-toolbelt-0.5.1.tar.gz 187981 BLAKE2B 1e3cfafd8e0b8625dc92ff40bf88d9cf67d40a679eef8c6825de032d51107d2486aed34611818a3b97c286ea9e452ad3b196a8ba7a4b7f57a9377366991d33a3 SHA512 fff70b7262efae616fe9fe8e25af9856d42ccecdaca71cfde0dd81c5d7c509aec30f7c99f4b886d844c168937197ed8287e873fffe6073e93e48412b5a902997
DIST requests-toolbelt-0.7.0.tar.gz 194062 BLAKE2B ea7120e58ea23dbe1d17bc2f8c346ec00bd00d62a4c8fdefa1490b9b3ed62a0dcf45ce60b071fcbc7e510d943ec4f10a7031525bd24f5fb02749125cbccc9f0b SHA512 77f11d12643d7cacf0c5dab5c5490359fc6f11c038d56d6ae27939394c5788622edb230d38d2202192eec6a7b1229feeb5669cd6a33c78f6891699d017e8205e
DIST requests-toolbelt-0.7.1.tar.gz 194670 BLAKE2B 3f8b5950d3a87f519f40e2d21bce13ba2d3ed205b5d7f4fa0872339df391e5477f262b104697b264a75783d686eb44231ff2943bfe56f13695d63869227c48c5 SHA512 2559db13054c4d9b7c459603809a16d8d9a9c1a348369e1bc68e557bae10c41291286112e3b4a71e83b42203d40fa5cbc8441028693eeb986162d212a65f68ac
diff --git a/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch b/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
index ddc7b3b05a24..418039bc7f94 100644
--- a/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
+++ b/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
@@ -1,17 +1,31 @@
-From 7af2e4ce4192dfab6bd8315ad31b5b689386a0d3 Mon Sep 17 00:00:00 2001
-From: <@υ>
+From e130ad521d3b5a14cd9494213e6ca9f52d0d9a2e Mon Sep 17 00:00:00 2001
+From: Brian Dolbec <brian.dolbec@sony.com>
Date: Wed, 7 Mar 2018 21:52:25 +0000
-Subject: [PATCH] threaded/tread.py: Fix numerous test failures
+Subject: [PATCH] threaded/thread.py: Fix unhandled Nonetype job queue
+Adding this check and return prevents numerous test tracebacks:
+
+Exception in thread 12f554d5-f61f-44d9-bc69-023714627952:
+Traceback (most recent call last):
+ File "/usr/lib64/python3.4/threading.py", line 911, in _bootstrap_inner
+ self.run()
+ File "/usr/lib64/python3.4/threading.py", line 859, in run
+ self._target(*self._args, **self._kwargs)
+ File "/home/bdolbec/git/toolbelt/requests_toolbelt/threaded/thread.py", line 43, in _make_request
+ kwargs = self._jobs.get_nowait()
+AttributeError: 'NoneType' object has no attribute 'get_nowait'
+
+Signed-off-by: Brian Dolbec <brian.dolbec@sony.com>
+Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
---
requests_toolbelt/threaded/thread.py | 2 ++
- 1 file changed, 2 insertions(+), 0 deletions(-)
+ 1 file changed, 2 insertions(+)
diff --git a/requests_toolbelt/threaded/thread.py b/requests_toolbelt/threaded/thread.py
index 542813c..f33b759 100644
--- a/requests_toolbelt/threaded/thread.py
+++ b/requests_toolbelt/threaded/thread.py
-@@ -36,6 +36,8 @@ class SessionThread(object):
+@@ -36,6 +36,8 @@ def _handle_request(self, kwargs):
self._jobs.task_done()
def _make_request(self):
@@ -20,6 +34,3 @@ index 542813c..f33b759 100644
while True:
try:
kwargs = self._jobs.get_nowait()
---
-libgit2 0.24.6
-