aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ee/project/report.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ee/project/report.py b/src/ee/project/report.py
index 1e7f6f4..883e49b 100644
--- a/src/ee/project/report.py
+++ b/src/ee/project/report.py
@@ -15,19 +15,19 @@ class Message(object):
def section_filter(s: str):
- return "{}\n{}".format(s, "=" * len(s))
+ return "{}\n{}".format(s, "=" * len(s)) if s else ""
def subsection_filter(s: str):
- return "{}\n{}".format(s, "-" * len(s))
+ return "{}\n{}".format(s, "-" * len(s)) if s else ""
def subsubsection_filter(s: str):
- return "{}\n{}".format(s, "~" * len(s))
+ return "{}\n{}".format(s, "~" * len(s)) if s else ""
def subsubsubsection_filter(s: str):
- return "{}\n{}".format(s, "." * len(s))
+ return "{}\n{}".format(s, "." * len(s)) if s else ""
def first_ref_filter(part: Part) -> Optional[types.SchematicReference]: