소스 검색

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: