fixup f3e57ab

The issue from comment [1] has originally only been fixed in one
of multiple similar places.

Also pep8.

[1]: https://github.com/liqd/adhocracy/pull/499#discussion_r6410984