summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/util/spack_yaml.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/util/spack_yaml.py b/lib/spack/spack/util/spack_yaml.py
index f4bec63f5c..9dadc25d82 100644
--- a/lib/spack/spack/util/spack_yaml.py
+++ b/lib/spack/spack/util/spack_yaml.py
@@ -296,8 +296,8 @@ class LineAnnotationEmitter(emitter.Emitter):
if marked(self.event.value):
self.saved = self.event.value
- def write_line_break(self):
- super().write_line_break()
+ def write_line_break(self, data=None):
+ super().write_line_break(data)
if self.saved is None:
_ANNOTATIONS.append(colorize("@K{---}"))
return