From cbf0fd494555de4458ecf3e7ad2776f69759b189 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 9 Jul 2008 14:21:44 -0600 Subject: [PATCH] Fix bug with NeedMoreData mechanism --- ip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip.py b/ip.py index c6f3b81..6641a23 100755 --- a/ip.py +++ b/ip.py @@ -494,7 +494,7 @@ class Session: saddr = chunk.first.saddr try: - (first, data) = self.pending[saddr] + (first, data) = self.pending.pop(saddr) except KeyError: first = chunk.first data = gapstr.GapString()