summaryrefslogtreecommitdiffstats
path: root/rtemsspec/content.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsspec/content.py')
-rw-r--r--rtemsspec/content.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtemsspec/content.py b/rtemsspec/content.py
index 3a25b7ec..ee7b2b3d 100644
--- a/rtemsspec/content.py
+++ b/rtemsspec/content.py
@@ -385,11 +385,13 @@ class Content:
def add_blank_line(self):
""" Adds a blank line. """
self._lines.append("")
+ self._gap = False
def ensure_blank_line(self):
""" Ensures that the last line is blank. """
if not self._lines or self._lines[-1]:
self._lines.append("")
+ self._gap = False
def register_license(self, the_license: str) -> None:
""" Registers a licence for the content. """