]> arthur.barton.de Git - bup.git/commit
main: switch print_clean_line to bytes
authorRob Browning <rlb@defaultvalue.org>
Tue, 10 Sep 2019 06:24:27 +0000 (01:24 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 29 Sep 2019 20:25:18 +0000 (15:25 -0500)
commitf1b53cb8b21aac5b11f0fec4b7c31f71412ce075
treec796f60e5f6bee7b7f3d4aa1302e8ffb62327cda
parentdde39abb80981d67e30a33cb9a3c5458ca534de3
main: switch print_clean_line to bytes

This function filters arbitrary content, and only needs to assume that
it's ASCII-compatible (i.e. it only cares about \n and \r).
Explicitly use bytes to accommodate Python 3.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
main.py