diff --git a/lib/spack/spack/util/spack_yaml.py b/lib/spack/spack/util/spack_yaml.py index 565a9be4ea5..40e66ee62cf 100644 --- a/lib/spack/spack/util/spack_yaml.py +++ b/lib/spack/spack/util/spack_yaml.py @@ -321,7 +321,7 @@ def dump_annotated(data, stream=None, *args, **kwargs): stream = StringIO() getvalue = stream.getvalue - # write out annotations and linees, accounting for color + # write out annotations and lines, accounting for color width = max(clen(a) for a in _annotations) formats = ['%%-%ds %%s\n' % (width + cextra(a)) for a in _annotations]