[pypy-commit] pypy default: Temporary translation fix
alex_gaynor
noreply at buildbot.pypy.org
Mon Jun 30 21:35:13 CEST 2014
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r72299:9d5d4149f2a5
Date: 2014-06-30 12:34 -0700
http://bitbucket.org/pypy/pypy/changeset/9d5d4149f2a5/
Log: Temporary 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
@@ -582,7 +582,7 @@
else:
dirname = space.str0_w(w_dirname)
result = rposix.listdir(dirname)
- return space.newlist_bytes(result)
+ return space.newlist_bytes(result[:])
except OSError, e:
raise wrap_oserror2(space, e, w_dirname)
More information about the pypy-commit
mailing list