]> arthur.barton.de Git - bup.git/commit
random: use helpers.istty1
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 30 Nov 2021 20:23:05 +0000 (21:23 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 5 Dec 2021 20:26:53 +0000 (14:26 -0600)
commit443ef13d118c8c213bf102b5fe36432df51886a3
tree31c4444def467e22ed34eacd87a2630750c0e0ab
parent0a3058205aadb2dcbdcfde285bbb82c6b48a9742
random: use helpers.istty1

The helpers.istty1 variable can be used in place of the
same conditions open-coded here.

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