Replace iter with findall

For 2.6 compatibility
Merge pull request #27 from adrianmoisey/python_2.6

Replace iter with findall