Unknown variable name in use

The name "field" is not defined, but in use.
Found using flake8.