codeclimate / python-test-reporter

DEPRECATED Uploads Python test coverage data to Code Climate
https://codeclimate.com
Other
19 stars 11 forks source link

Coerce filter result into an iterator #9

Closed dblandin closed 8 years ago

dblandin commented 8 years ago

Fixes the following error from CI#data:

File "reporter/components/ci.py", line 15, in data
    service = next(filter(self.predicate, iter(self.__services())), None)
TypeError: list object is not an iterator