summaryrefslogtreecommitdiff
path: root/python/qpid/assembler.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/assembler.py')
-rw-r--r--python/qpid/assembler.py2
1 files changed, 1 insertions, 1 deletions
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:]