[pypy-commit] pypy remove-py-log: another place
arigo
pypy.commits at gmail.com
Fri Mar 11 11:51:54 EST 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: remove-py-log
Changeset: r82985:9114dba413e2
Date: 2016-03-11 16:57 +0000
http://bitbucket.org/pypy/pypy/changeset/9114dba413e2/
Log: another place
diff --git a/lib_pypy/ctypes_config_cache/rebuild.py b/lib_pypy/ctypes_config_cache/rebuild.py
--- a/lib_pypy/ctypes_config_cache/rebuild.py
+++ b/lib_pypy/ctypes_config_cache/rebuild.py
@@ -9,9 +9,8 @@
_dirpath = os.path.dirname(__file__) or os.curdir
-from rpython.tool.ansi_print import ansi_log
-log = py.log.Producer("ctypes_config_cache")
-py.log.setconsumer("ctypes_config_cache", ansi_log)
+from rpython.tool.ansi_print import AnsiLogger
+log = AnsiLogger("ctypes_config_cache")
def rebuild_one(name):
More information about the pypy-commit
mailing list