[pypy-commit] pypy default: Fix for test_posix (how could it have ever worked!).
alex_gaynor
noreply at buildbot.pypy.org
Sun Aug 14 04:42:45 CEST 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r46489:c269bba69768
Date: 2011-08-13 19:45 -0700
http://bitbucket.org/pypy/pypy/changeset/c269bba69768/
Log: Fix for test_posix (how could it have ever worked!).
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
@@ -473,7 +473,7 @@
FIELDS = PORTABLE_STAT_FIELDS
else:
FIELDS = STAT_FIELDS # also when not translating at all
- return space.newlist([space.wrap(name) for name, _ in FIELDS])
+ return space.newlist([space.wrap(name) for _, (name, _) in FIELDS])
class State:
More information about the pypy-commit
mailing list