]> arthur.barton.de Git - bup.git/commit
save: minor code cleanups
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 25 Jan 2020 20:34:52 +0000 (21:34 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 23 Feb 2020 20:36:25 +0000 (14:36 -0600)
commit0c0bd5877f65b791beef2befdf5b3c1a27f6171c
tree087657d706e497b58f930e14316aa9b1925516a8
parent19b3b1b7acda5e507a4ec053cff6a2e139c24f31
save: minor code cleanups

Move some code around to avoid double ifs and nested ifs
where elif chains can be used instead.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/save-cmd.py