From a3084b7174932533c89b8df7294995eca1ac390e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Mon, 19 Oct 2015 14:41:02 -0400 Subject: [PATCH] try to fix build on py32 again --- borg/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/helpers.py b/borg/helpers.py index ab86f45f9..d262d9d51 100644 --- a/borg/helpers.py +++ b/borg/helpers.py @@ -13,7 +13,7 @@ try: except ImportError: def get_terminal_size(fallback=(80, 24)): TerminalSize = namedtuple('TerminalSize', ['columns', 'lines']) - return TerminalSize(os.environ.get('COLUMNS', int(fallback[0])), os.environ.get('LINES', int(fallback[1]))) + return TerminalSize(int(os.environ.get('COLUMNS', int(fallback[0]))), int(os.environ.get('LINES', int(fallback[1])))) import sys import time import unicodedata