[rtems-central commit] specview.py: Discard duplicated rows due to N/A

Sebastian Huber sebh at rtems.org
Thu Mar 25 06:38:48 UTC 2021


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Mar 24 11:18:12 2021 +0100

specview.py: Discard duplicated rows due to N/A

---

 specview.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/specview.py b/specview.py
index ac9196b..40c988d 100755
--- a/specview.py
+++ b/specview.py
@@ -144,6 +144,8 @@ def _get_entries(transition_map: TransitionMap,
             combined_entry = [last]
             combined_count = 0
             for row in entry[1:]:
+                if row == last:
+                    continue
                 diff = [
                     index for index, states in enumerate(last)
                     if states != row[index]



More information about the vc mailing list