Changeset cef12a3 in rtems-central


Ignore:
Timestamp:
11/24/21 16:24:37 (9 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
2f4118f
Parents:
932679b
git-author:
Sebastian Huber <sebastian.huber@…> (11/24/21 16:24:37)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/25/21 06:43:59)
Message:

specview.py: More attribute substitutions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • specview.py

    r932679b rcef12a3  
    9292
    9393
     94_TEXT_ATTRIBUTES = [
     95    "brief",
     96    "description",
     97    "notes",
     98    "rationale",
     99    "test-brief",
     100    "test-description",
     101    "text",
     102]
     103
     104
    94105def _visit_item(item: Item, level: int, role: Optional[str],
    95106                validated_filter: str) -> bool:
     
    102113    print(
    103114        f"{'  ' * level}{item.uid} (type={item.type}{role_info}{_info(item)})")
    104     for name in ["text", "brief", "description", "notes", "rationale"]:
     115    for name in _TEXT_ATTRIBUTES:
    105116        if name in item:
    106117            _MAPPER.substitute(item[name], item)
Note: See TracChangeset for help on using the changeset viewer.