summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-22 16:44:26 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-22 16:45:03 +0100
commitd9340375a0b6a9a539996d0024073a5f5026d3fb (patch)
treec05e0e9cc53ec4b8da8a9ca117957b7561982928
parentspecview.py: Add action list filter (diff)
downloadrtems-central-d9340375a0b6a9a539996d0024073a5f5026d3fb.tar.bz2
specview.py: Fix format
-rwxr-xr-xspecview.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/specview.py b/specview.py
index 9dfbdcfa..53bb8066 100755
--- a/specview.py
+++ b/specview.py
@@ -137,7 +137,8 @@ def _get_entries(transition_map: TransitionMap,
tuple(
[state]
for state in transition_map.map_idx_to_pre_co_states(map_idx)))
- for post_cond, entry in sorted(entries.items(), key=lambda x: (x[0][0], len(x[1]))):
+ for post_cond, entry in sorted(entries.items(),
+ key=lambda x: (x[0][0], len(x[1]))):
while True:
last = entry[0]
combined_entry = [last]
@@ -167,10 +168,9 @@ def _action_list(enabled: List[str], item: Item) -> None:
if post_cond[0]:
print(transition_map.skip_idx_to_name(post_cond[0]))
else:
- print(
- ", ".join(
- _to_name(transition_map, co_idx, st_idx)
- for co_idx, st_idx in enumerate(post_cond[1:])))
+ print(", ".join(
+ _to_name(transition_map, co_idx, st_idx)
+ for co_idx, st_idx in enumerate(post_cond[1:])))
for row in entry:
entries = []
for co_idx, co_states in enumerate(row):