From 0ab5d42bd527d907fb8c1b4a87877d13ba871364 Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Tue, 9 Nov 2021 16:11:34 -0600 Subject: [PATCH] Fix typos (ouptut) (#27317) --- lib/spack/llnl/util/tty/log.py | 2 +- lib/spack/spack/spec.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = ''