Author: Lars Wassermann <[email protected]>
Branch: 
Changeset: r337:522f25d8b9f1
Date: 2013-04-25 12:11 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/522f25d8b9f1/

Log:    replacing smalltalk line-end sign by python line-end when printing
        the results of benchmarks

diff --git a/targetimageloadingsmalltalk.py b/targetimageloadingsmalltalk.py
--- a/targetimageloadingsmalltalk.py
+++ b/targetimageloadingsmalltalk.py
@@ -43,8 +43,7 @@
     t2 = time.time()
     if w_result:
         if isinstance(w_result, model.W_BytesObject):
-            print '\n'
-            print w_result.as_string()
+            print w_result.as_string().replace('\r', '\n')
         print "took %s seconds" % (t2 - t1)
         return 0
     return -1
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to