]> arthur.barton.de Git - bup.git/commit
get: convert opt.source to bytes
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 4 Feb 2020 20:27:23 +0000 (21:27 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 1 Mar 2020 22:54:29 +0000 (16:54 -0600)
commit6352b9d1bcd06a48d5f7f91e91c32276da7dfd1b
treea2c91abc4ea4d9762c913e029e4aa0fdc09d16ab
parenta5943090495ea0e3fb3b67e95a3b796e21ac1918
get: convert opt.source to bytes

I noticed this while playing with something else that
didn't just pass the repo_dir to git, but instead used
it with some os.path.join() calls that complain about
mixed unicode/bytes.

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