And in fact, the method only requires an [iterable](http://docs.python.org/2/glossary.html#term-iterable) so if at the top of the method we write `dm_f = iter(dm_f)` everything should keep working and we can remove this try/except.