Commits

Armin Rigo committed 7df4e80

Fix for the warning "exceptblock is not completely sane".

  • Participants
  • Parent commits 22bdac4

Comments (0)

Files changed (1)

File pypy/translator/goal/query.py

         s_ev = annotator.binding(ev, None)
         if s_et:
             if s_et.knowntype == type:
-                if s_et.__class__ == annmodel.SomeObject:
+                if s_et.__class__ == annmodel.SomeType:
                     if hasattr(s_et, 'is_type_of') and  s_et.is_type_of == [ev]:
                         continue
                 else: