Removes unused sum_true method.

This commit is contained in:
Eddie Hebert
2012-10-16 21:48:38 -04:00
parent ae41a94c8f
commit b1ed4c6d8c
-8
View File
@@ -106,14 +106,6 @@ def create_trade(sid, price, amount, datetime, source_id="test_factory"):
return row
def sum_true(bool_iterable):
"""
Takes an iterable of boolean values and returns the number of
those values that are True.
"""
return sum(map(int, bool_iterable))
def assert_datasource_protocol(event):
"""Assert that an event meets the protocol for datasource outputs."""