From c8c75599115f4c8e8d610f16aaee77f1aed9324c Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Fri, 7 Mar 2008 17:56:41 +0000 Subject: send an empty frame for an empty segment git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634763 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/cpp_failing_0-10.txt | 2 -- qpid/python/qpid/assembler.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'qpid/python') 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:] -- cgit v1.2.1