[pypy-svn] r70758 - pypy/trunk/ctypes_configure
fijal at codespeak.net
fijal at codespeak.net
Thu Jan 21 18:46:28 CET 2010
Author: fijal
Date: Thu Jan 21 18:46:27 2010
New Revision: 70758
Modified:
pypy/trunk/ctypes_configure/cbuild.py
Log:
kill the useless dependency on py.log
Modified: pypy/trunk/ctypes_configure/cbuild.py
==============================================================================
--- pypy/trunk/ctypes_configure/cbuild.py (original)
+++ pypy/trunk/ctypes_configure/cbuild.py Thu Jan 21 18:46:27 2010
@@ -5,8 +5,6 @@
debug = 0
-log = py.log.Producer("cbuild")
-
configdir = py.path.local.make_numbered_dir(prefix='ctypes_configure')
class ExternalCompilationInfo(object):
@@ -327,7 +325,7 @@
def log_spawned_cmd(spawn):
def spawn_and_log(cmd, *args, **kwds):
if debug:
- log.execute(' '.join(cmd))
+ print ' '.join(cmd)
return spawn(cmd, *args, **kwds)
return spawn_and_log
More information about the Pypy-commit
mailing list