]> arthur.barton.de Git - bup.git/commit
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)
commit0dc1dbaabb0edc9e336e506707446bc4dbc67b1a
tree02d76ebd7a8e31f409b32532bd4a741590a77a13
parentffa1a813b41d59cb3bdcd96429b9cbb3535e2d88
PackWriter_Remote.close: call parent close

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>
lib/bup/client.py
lib/bup/git.py