mirror of
https://github.com/docker/compose.git
synced 2025-07-23 21:54:40 +02:00
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:
parent
6dab8c1b89
commit
8157f0887d
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user