[pypy-commit] pypy syntax_fix: fixed compilation error due to wrong varible name

Sergey Matyunin pypy.commits at gmail.com
Sun May 15 10:45:52 EDT 2016


Author: Sergey Matyunin <sbmatyunin at gmail.com>
Branch: syntax_fix
Changeset: r84468:b49dacefd0c7
Date: 2016-05-15 10:01 +0200
http://bitbucket.org/pypy/pypy/changeset/b49dacefd0c7/

Log:	fixed compilation error due to wrong varible name

diff --git a/pypy/module/imp/importing.py b/pypy/module/imp/importing.py
--- a/pypy/module/imp/importing.py
+++ b/pypy/module/imp/importing.py
@@ -591,7 +591,7 @@
 def load_c_extension(space, filename, modulename):
     from pypy.module.cpyext.api import load_extension_module
     log_pyverbose(space, 1, "import %s # from %s\n" %
-                  (modulename, pathname))
+                  (modulename, filename))
     load_extension_module(space, filename, modulename)
     # NB. cpyext.api.load_extension_module() can also delegate to _cffi_backend
 


More information about the pypy-commit mailing list