summaryrefslogtreecommitdiffstats
path: root/reflect.py
diff options
context:
space:
mode:
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