diff --git a/lib/spack/llnl/util/tty/log.py b/lib/spack/llnl/util/tty/log.py index efcd487f23f..a2362b31ee6 100644 --- a/lib/spack/llnl/util/tty/log.py +++ b/lib/spack/llnl/util/tty/log.py @@ -607,7 +607,7 @@ def __enter__(self): self._active = True # return this log_output object so that the user can do things - # like temporarily echo some ouptut. + # like temporarily echo some output. return self def __exit__(self, exc_type, exc_val, exc_tb): diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index eaf7544e83b..a8e3684e448 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -3921,7 +3921,7 @@ def write_attribute(spec, attribute, color): elif 'version' in parts: col = '@' - # Finally, write the ouptut + # Finally, write the output write(sig + morph(spec, str(current)), col) attribute = ''