Fix pep8 issues

* Shorten long lines to less than 80 characters
* Replace django patterns function call with list