Author: Stephan <step...@stzal.com>
Branch: 
Changeset: r296:36e85c168342
Date: 2012-09-04 15:45 +0200
http://bitbucket.org/pypy/lang-js/changeset/36e85c168342/

Log:    fix Map.not_found

diff --git a/js/object_map.py b/js/object_map.py
--- a/js/object_map.py
+++ b/js/object_map.py
@@ -18,7 +18,7 @@
     @jit.elidable
     def contains(self, name):
         idx = self.lookup(name)
-        return self.not_found(idx)
+        return self.not_found(idx) is False
 
     @jit.elidable
     def not_found(self, idx):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to