Fix broken calls into colify.

This commit is contained in:
Todd Gamblin 2014-04-14 09:42:18 -07:00
parent 79c5dd0952
commit 1e51daab08

View file

@ -26,7 +26,7 @@
import argparse
from StringIO import StringIO
from llnl.util.tty.colify import colify
from llnl.util.tty.colify import colify, get_terminal_size
from llnl.util.tty.color import *
import spack
@ -51,7 +51,7 @@ def setup_parser(subparser):
# TODO: move this and colify to tty.
def hline(label, char, color=''):
max_width = 64
cols, rows = spack.colify.get_terminal_size()
cols, rows = get_terminal_size()
if not cols:
cols = max_width
else: