summaryrefslogtreecommitdiffstats
path: root/reflect.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-03-03 18:13:24 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2022-03-03 18:13:24 +0000
commit92f710554dac6fb75e0c3b4bcf4a0305ee4df4c3 (patch)
treecaf1f528de60c96dfa4f346e93b314bb8afa76a3 /reflect.py
parent9d1668c5e4820213406d18278116aad98fe83331 (diff)
downloadSmarker-92f710554dac6fb75e0c3b4bcf4a0305ee4df4c3.tar.gz
Smarker-92f710554dac6fb75e0c3b4bcf4a0305ee4df4c3.zip
started working on rendering junitxml's nicely to pdfs
Diffstat (limited to 'reflect.py')
-rw-r--r--reflect.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/reflect.py b/reflect.py
index 392188c..c60c39e 100644
--- a/reflect.py
+++ b/reflect.py
@@ -158,6 +158,7 @@ class Reflect:
self.get_class_full_name(i)
for i in reversed(list(inspect.getmro(class_[0])))
])
+
tree = {}
added = [] # the expander makes duplicates. keep a list to remove them
# sadly a collections.Counter doesnt work with lists of lists
@@ -166,6 +167,7 @@ class Reflect:
setTree(tree, [i for i in reversed(s)][::-1])
added.append(s)
+ # print(tree)
# return inspect.getclasstree(classes)
return tree