From 8157f0887d5fe9b78f484b5a556555b8ee26145f Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Mon, 25 Aug 2014 22:11:50 -0400 Subject: [PATCH] Fix the return value of get_tty_width() it should return an int. Signed-off-by: Daniel Nephin --- fig/cli/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fig/cli/formatter.py b/fig/cli/formatter.py index ee4b3d95..df777d50 100644 --- a/fig/cli/formatter.py +++ b/fig/cli/formatter.py @@ -9,7 +9,7 @@ def get_tty_width(): if len(tty_size) != 2: return 80 _, width = tty_size - return width + return int(width) class Formatter(object):