[pypy-commit] pypy win64-stage1: whoops (amaury_)

mattip noreply at buildbot.pypy.org
Sun Mar 25 10:29:29 CEST 2012


Author: mattip
Branch: win64-stage1
Changeset: r53973:3e677b357851
Date: 2012-03-25 10:28 +0200
http://bitbucket.org/pypy/pypy/changeset/3e677b357851/

Log:	whoops (amaury_)

diff --git a/pypy/rpython/tool/rffi_platform.py b/pypy/rpython/tool/rffi_platform.py
--- a/pypy/rpython/tool/rffi_platform.py
+++ b/pypy/rpython/tool/rffi_platform.py
@@ -758,8 +758,8 @@
 
             if prefix and not os.path.isabs(prefix):
                 import glob
-
-                entries = glob.glob(os.path.join(PYPY_EXTERNAL_DIR,'*'))
+                testdir = os.path.join(PYPY_EXTERNAL_DIR,prefix)
+                entries = glob.glob(os.path.join(testdir,'*'))
                 if entries:
                     # Get last version
                     prefix = sorted(entries)[-1]


More information about the pypy-commit mailing list