py: Fix "TypeError: 'iterator' object is not iterable", doh.