"Local variable might be referenced before assignment"

See:
- https://github.com/wrye-bash/wrye-bash/commit/c070e9722fe82badf3bbd15f1cf9216e164cee22
- https://github.com/wrye-bash/wrye-bash/commit/8c645041851e107e0efd21196812874c4f41f25b
This should not be pass
Typos + redundant parentheses + wrapping at 79
Formatting (spaces around operators)