[pypy-svn] r71872 - pypy/branch/ctypes-configure-cache-2/pypy/lib/ctypes_config_cache

arigo at codespeak.net arigo at codespeak.net
Mon Mar 8 10:58:40 CET 2010


Author: arigo
Date: Mon Mar  8 10:58:39 2010
New Revision: 71872

Modified:
   pypy/branch/ctypes-configure-cache-2/pypy/lib/ctypes_config_cache/rebuild.py
Log:
Fix when running "python rebuild.py".


Modified: pypy/branch/ctypes-configure-cache-2/pypy/lib/ctypes_config_cache/rebuild.py
==============================================================================
--- pypy/branch/ctypes-configure-cache-2/pypy/lib/ctypes_config_cache/rebuild.py	(original)
+++ pypy/branch/ctypes-configure-cache-2/pypy/lib/ctypes_config_cache/rebuild.py	Mon Mar  8 10:58:39 2010
@@ -5,7 +5,7 @@
 import os, sys
 import py
 
-_dirpath = os.path.dirname(__file__)
+_dirpath = os.path.dirname(__file__) or os.curdir
 
 from pypy.tool.ansi_print import ansi_log
 log = py.log.Producer("ctypes_config_cache")



More information about the Pypy-commit mailing list