Remove obsolete StopIteration warning
Merge pull request #60 from jnothman/patch-2

Remove obsolete StopIteration warning