]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Fix sy -> sys in pwclient error path
authorDaniel Axtens <dja@axtens.net>
Thu, 25 Jan 2018 02:43:12 +0000 (13:43 +1100)
committerStephen Finucane <stephen@that.guru>
Fri, 26 Jan 2018 21:25:03 +0000 (21:25 +0000)
commitaa304247ec6f12123a67b0c12e4b307798da6c28
tree86acc0f3bf6a0808cde8f04c114165ba660ea71a
parentbd1613c1d4f915ffd76880afbf4746521f28e831
Fix sy -> sys in pwclient error path

While running docker-compose run web --quick-tox, I got this
flake8/pep8 error for pwclient:

patchwork/bin/pwclient:713:9: F821 undefined name 'sy'

Fix by converting to 'sys' instead, which was intended.

Fixes: 58160097f957 ("pwclient: Resolve pycode warnings")
Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/bin/pwclient