[pypy-commit] lang-smalltalk default: fixed line-endings in SPyVM>>#print:-primitive implementation
lwassermann
noreply at buildbot.pypy.org
Thu May 23 16:44:47 CEST 2013
Author: Lars Wassermann <lars.wassermann at gmail.com>
Branch:
Changeset: r403:454209dcb8dc
Date: 2013-05-22 14:56 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/454209dcb8dc/
Log: fixed line-endings in SPyVM>>#print:-primitive implementation
diff --git a/spyvm/plugins/vmdebugging.py b/spyvm/plugins/vmdebugging.py
--- a/spyvm/plugins/vmdebugging.py
+++ b/spyvm/plugins/vmdebugging.py
@@ -32,5 +32,5 @@
def debugPrint(interp, s_frame, w_rcvr, w_string):
if not isinstance(w_string, model.W_BytesObject):
raise error.PrimitiveFailedError()
- print w_string.as_string()
+ print w_string.as_string().replace('\r', '\n')
return w_rcvr
More information about the pypy-commit
mailing list