]> arthur.barton.de Git - bup.git/commitdiff
PackWriter_Remote.close: call parent close
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 5 Dec 2021 20:19:52 +0000 (21:19 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sat, 1 Jan 2022 18:59:38 +0000 (12:59 -0600)
We weren't explicitly closing the PackWriter, and __del__ no longer
does either.  Make PackWriter a "new style" object so that the super()
call will also work with python 2.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
[rlb@defaultvalue.org: split from larger commit; adjust commit message]
[rlb@defaultvalue.org: convert PackWriter to "new style" object]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>

No differences found