[pypy-commit] pypy default: simplify targetnopstandalone
fijal
noreply at buildbot.pypy.org
Thu Jan 26 21:35:30 CET 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r51816:ddbfdbe2d419
Date: 2012-01-26 22:33 +0200
http://bitbucket.org/pypy/pypy/changeset/ddbfdbe2d419/
Log: simplify targetnopstandalone
diff --git a/pypy/translator/goal/targetnopstandalone.py b/pypy/translator/goal/targetnopstandalone.py
--- a/pypy/translator/goal/targetnopstandalone.py
+++ b/pypy/translator/goal/targetnopstandalone.py
@@ -7,10 +7,8 @@
actually implementing argv of the executable.
"""
-import os, sys
-
-def debug(msg):
- os.write(2, "debug: " + msg + '\n')
+def debug(msg):
+ print "debug:", msg
# __________ Entry point __________
More information about the pypy-commit
mailing list