summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/cpp_failing_0-10.txt2
-rw-r--r--qpid/python/qpid/assembler.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/qpid/python/cpp_failing_0-10.txt b/qpid/python/cpp_failing_0-10.txt
index 824967762b..3d00313d2d 100644
--- a/qpid/python/cpp_failing_0-10.txt
+++ b/qpid/python/cpp_failing_0-10.txt
@@ -63,5 +63,3 @@ tests_0-10.queue.QueueTests.test_delete_simple
tests_0-10.queue.QueueTests.test_purge
tests_0-10.queue.QueueTests.test_bind
tests_0-10.queue.QueueTests.test_unbind_headers
-tests_0-10.exchange.RecommendedTypesRuleTests.testTopic
-tests_0-10.exchange.RequiredInstancesRuleTests.testAmqTopic
diff --git a/qpid/python/qpid/assembler.py b/qpid/python/qpid/assembler.py
index fe78baaceb..1a480698c8 100644
--- a/qpid/python/qpid/assembler.py
+++ b/qpid/python/qpid/assembler.py
@@ -96,7 +96,7 @@ class Assembler(Framer):
remaining = segment.payload
first = True
- while remaining:
+ while first or remaining:
payload = remaining[:self.max_payload]
remaining = remaining[self.max_payload:]