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: