Преглед на файлове

Fixed bug in get_superclasses

Yentl Van Tendeloo преди 9 години
родител
ревизия
c03409ca4c
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      kernel/modelverse_kernel/compiled.py

+ 0 - 1
kernel/modelverse_kernel/compiled.py

@@ -305,7 +305,6 @@ def get_superclasses(a, b, **remainder):
 
         outgoing, =      yield [("RO", [subclass])]
         types =         yield [("RDN", [type_mapping, i]) for i in outgoing]
-        types = [types] if len(outgoing) == 1 else types
 
         for i, t in enumerate(types):
             if t == inheritance: