Author: Lars Wassermann <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to