[rtems-central commit] specview.py: Substitute "rationale" attributes

Sebastian Huber sebh at rtems.org
Wed Nov 17 08:07:50 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    dc014e16b5bb011b8985880eec866f63b605b130
Changeset: http://git.rtems.org/rtems-central/commit/?id=dc014e16b5bb011b8985880eec866f63b605b130

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Sat Nov 13 18:10:39 2021 +0100

specview.py: Substitute "rationale" attributes

---

 specview.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/specview.py b/specview.py
index a0428cc..215f703 100755
--- a/specview.py
+++ b/specview.py
@@ -98,7 +98,7 @@ def _visit_item(item: Item, level: int, role: Optional[str],
         return False
     role_info = "" if role is None else f", role={role}"
     print(f"{'  ' * level}{item.uid} (type={item.type}{role_info}{validated})")
-    for name in ["text", "brief", "description", "notes"]:
+    for name in ["text", "brief", "description", "notes", "rationale"]:
         if name in item:
             _MAPPER.substitute(item[name], item)
     try:



More information about the vc mailing list