Fixed, thanks: It's considered bad style to use a list comprehension for just the side effects. Write this out as a for-statement instead.