]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Remove ResourceWarnings under Py3
authorDaniel Axtens <dja@axtens.net>
Wed, 28 Jun 2017 06:55:09 +0000 (16:55 +1000)
committerStephen Finucane <stephen@that.guru>
Wed, 28 Jun 2017 20:40:53 +0000 (21:40 +0100)
commit4c5bc7515e864a0b5d2d8c1a0a7016857f5ae4c7
tree63fb07ecf82883550f17cea698baaf984bf63c63
parente63147532c95ab3526ec653f8eee16d06edd54a6
Remove ResourceWarnings under Py3

This is just a matter of correctly closing files we open.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/management/commands/parsearchive.py
patchwork/tests/test_management.py
patchwork/tests/test_series.py
patchwork/tests/utils.py