Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r58243:7df4e80ad524
Date: 2012-10-19 15:50 +0200
http://bitbucket.org/pypy/pypy/changeset/7df4e80ad524/

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

diff --git a/pypy/translator/goal/query.py b/pypy/translator/goal/query.py
--- a/pypy/translator/goal/query.py
+++ b/pypy/translator/goal/query.py
@@ -49,7 +49,7 @@
         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:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to