test/aggregate.py: Add a Map class for persistent streams
authorW. Trevor King <wking@tremily.us>
Sun, 30 Jun 2013 20:32:10 +0000 (16:32 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 30 Jun 2013 20:36:56 +0000 (16:36 -0400)
commit3cf744a055063dd018e00c7f3c2689d5fc17c252
tree390d9bce773d81954d9a0cec05b69f5830ec11f9
parentb2d724dc7a58fc150b203ea129ab8af6e9e5e36f
test/aggregate.py: Add a Map class for persistent streams

Using a class method as a processing function allows you to keep open
file handles (and similar processor state) between feeds.
test/aggregate.py