mod views
Refactoring
=============

* using list/dict comprehensions instead of for loops.