Author: Carl Friedrich Bolz <cfb...@gmx.de>
Branch: guard-compatible
Changeset: r84523:8b13951942df
Date: 2016-05-18 14:19 +0200
http://bitbucket.org/pypy/pypy/changeset/8b13951942df/

Log:    fix translation

diff --git a/pypy/objspace/std/callmethod.py b/pypy/objspace/std/callmethod.py
--- a/pypy/objspace/std/callmethod.py
+++ b/pypy/objspace/std/callmethod.py
@@ -44,6 +44,7 @@
 
     safe = False
     w_descr = None
+    w_descr_cell = None
     name = None
     if jit.we_are_jitted():
         # compute safeness without reading the type
@@ -62,7 +63,6 @@
             version_tag = w_type.version_tag()
             if version_tag is None:
                 _, w_descr = w_type._lookup_where(name)
-                w_descr_cell = None
             else:
                 _, w_descr_cell = w_type._pure_lookup_where_with_method_cache(
                     name, version_tag)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to