Fix spack info bug for Python 3 (#4391)

This commit is contained in:
Adam J. Stewart 2017-05-30 13:37:56 -05:00 committed by GitHub
parent 336d988cc6
commit d9d5135ec9

View File

@ -25,7 +25,7 @@
from __future__ import print_function
import textwrap
import itertools
from six.moves import zip_longest
from llnl.util.tty.colify import *
import spack
import spack.fetch_strategy as fs
@ -119,7 +119,7 @@ def lines(self):
v.description,
width=self.column_widths[2]
)
for t in itertools.izip_longest(
for t in zip_longest(
name, allowed, description, fillvalue=''
):
yield " " + self.fmt % t