Fix the return value of get_tty_width() it should return an int.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin 2014-08-25 22:11:50 -04:00
parent 6dab8c1b89
commit 8157f0887d
1 changed files with 1 additions and 1 deletions

View File

@ -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):