diff --git a/src/fix.py b/src/fix.py index a1b031183..ac7f2ec58 100644 --- a/src/fix.py +++ b/src/fix.py @@ -232,9 +232,11 @@ class MaxLengthQueue(queue): queue.__setstate__(self, q) def enqueue(self, elt): + queue.enqueue(self, elt) if len(self) > self.length: self.dequeue() + class IterableMap(object): """Define .iteritems() in a class and subclass this to get the other iters. """