views.upload: make flake8 happy