summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-03-07 17:56:41 +0000
committerRafael H. Schloming <rhs@apache.org>2008-03-07 17:56:41 +0000
commit28bb2c5583a4747594c869af46593f223344a043 (patch)
treeda1f6ad5e58f881d122b90f51acd0b7d71d93dc6 /python
parent205ae0e54ba0c5fdeb5d2e884997c80cb52f1799 (diff)
downloadqpid-python-28bb2c5583a4747594c869af46593f223344a043.tar.gz
send an empty frame for an empty segment
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634763 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/cpp_failing_0-10.txt2
-rw-r--r--python/qpid/assembler.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/python/cpp_failing_0-10.txt b/python/cpp_failing_0-10.txt
index 824967762b..3d00313d2d 100644
--- a/python/cpp_failing_0-10.txt
+++ b/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/python/qpid/assembler.py b/python/qpid/assembler.py
index fe78baaceb..1a480698c8 100644
--- a/python/qpid/assembler.py
+++ b/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:]