From 1e51daab0801d64776b210af0f64fd9718582cda Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Mon, 14 Apr 2014 09:42:18 -0700 Subject: [PATCH] Fix broken calls into colify. --- lib/spack/spack/cmd/find.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/spack/spack/cmd/find.py b/lib/spack/spack/cmd/find.py index 9e8bf190a8..c3a92566ef 100644 --- a/lib/spack/spack/cmd/find.py +++ b/lib/spack/spack/cmd/find.py @@ -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: