Author: Amaury Forgeot d'Arc <amaur...@gmail.com>
Branch: stdlib-2.7.9
Changeset: r75632:4c44fb30552f
Date: 2015-02-01 20:37 +0100
http://bitbucket.org/pypy/pypy/changeset/4c44fb30552f/

Log:    Translation fix

diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py
--- a/pypy/module/_ssl/interp_ssl.py
+++ b/pypy/module/_ssl/interp_ssl.py
@@ -251,6 +251,7 @@
 
         self.socket_type = socket_type
         self.w_socket = w_sock
+        assert w_ssl_sock is not None
         self.ssl_sock_weakref_w = rweakref.ref(w_ssl_sock)
         return self
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to