internetarchive / internetarchive/draintasker
Undefined name `p` in admin.py
Open
- Dominant language
- Python
- Stars
- 11
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
`Undefined names` have the potential to raise `NameError` at runtime.
% `python2 -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics`
```
./admin.py:63:37: F821 undefined name 'p'
self.write(dict(ok=0, s=p.s, error=str(ex)))
^
./admin.py:84:38: F821 undefined name 'p'
self.write(dict(pj=pj.id, sw=p.sw, ok=1))
^
2 F821 undefined name 'p'
2
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.