codeforIATI / iatikit

🐨 A toolkit for using IATI data
https://iatikit.readthedocs.io
MIT License
6 stars 0 forks source link

Bug: DatasetSet.__iter__ appears to loop through everything twice #44

Closed andylolz closed 5 years ago

andylolz commented 5 years ago

Output appears unaffected, but there’s a second loop happening that slows everything down. Not sure why this happens.

andylolz commented 5 years ago

Fixed in 7a00fe0. Use a list comprehension, and not list(…).