]> arthur.barton.de Git - bup.git/commit
Client.__init__: clean up at the end, even if check_ok() fails
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 30 Dec 2021 20:31:55 +0000 (21:31 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sat, 1 Jan 2022 20:12:46 +0000 (14:12 -0600)
commita6c063364bad310bea099bf6499fa3c6201c004c
tree227811404aaf3a9264cac10fb72372203ebd1ea8
parentdf6c10064ca8b30736fea347fca76cd7ca88f306
Client.__init__: clean up at the end, even if check_ok() fails

By the time we reach the check_ok() at the end, there are resources
that should be released if that call fails.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
[rlb@defaultvalue.org: adjust commit message]
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/client.py