Explorar o código

Fixed bug in get_superclasses

Yentl Van Tendeloo %!s(int64=9) %!d(string=hai) anos
pai
achega
c03409ca4c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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: