blotter: fix list comprehension incompatiblity with python 2.4

unit tests where failing on RHEL 5.X