Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r88916:1db6128a92ee
Date: 2016-12-06 19:20 +0100
http://bitbucket.org/pypy/pypy/changeset/1db6128a92ee/
Log: translation fix
diff --git a/pypy/module/posix/interp_posix.py
b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -1191,7 +1191,7 @@
else:
rposix.link(src, dst)
except OSError as e:
- raise wrap_oserror2(space, e, filename=w_src, filename2=w_dst,
+ raise wrap_oserror2(space, e, w_filename=w_src, w_filename2=w_dst,
eintr_retry=False)
@@ -1663,7 +1663,7 @@
Change root directory to path.
"""
- w_path = space.fsencode_w(w_path)
+ path = space.fsencode_w(w_path)
try:
os.chroot(path)
except OSError as e:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit