[pypy-svn] pypy default: Fix a typo and the translation

amauryfa commits-noreply at bitbucket.org
Tue Jan 18 10:09:45 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r40832:449eb6b8c7c9
Date: 2011-01-18 10:08 +0100
http://bitbucket.org/pypy/pypy/changeset/449eb6b8c7c9/

Log:	Fix a typo and the translation

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
@@ -71,7 +71,7 @@
     w_exception_class = space.getattr(w_module, space.wrap('SSLError'))
     if errno:
         w_exception = space.call_function(w_exception_class,
-                                          space.wrap(e.errno), space.wrap(msg))
+                                          space.wrap(errno), space.wrap(msg))
     else:
         w_exception = space.call_function(w_exception_class, space.wrap(msg))
     return OperationError(w_exception_class, w_exception)


More information about the Pypy-commit mailing list