From f01bf3863989115b29ed0901f5ac691776035d0e Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 29 Jan 2020 21:35:57 +0100 Subject: [PATCH] options: remove unused _atoi() Signed-off-by: Johannes Berg Reviewed-by: Rob Browning --- lib/bup/options.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/bup/options.py b/lib/bup/options.py index 37c76aa..a7fd284 100644 --- a/lib/bup/options.py +++ b/lib/bup/options.py @@ -129,13 +129,6 @@ def _intify(v): return v -def _atoi(v): - try: - return int(v or 0) - except ValueError: - return 0 - - if not fcntl and termios: def _tty_width(): return 70 -- 2.39.2