Author: Anton Gulenko <anton.gule...@googlemail.com> Branch: storage Changeset: r947:d8f09e784dd7 Date: 2014-07-24 19:23 +0200 http://bitbucket.org/pypy/lang-smalltalk/changeset/d8f09e784dd7/
Log: Fixed printing of ByteObjects. diff --git a/spyvm/model.py b/spyvm/model.py --- a/spyvm/model.py +++ b/spyvm/model.py @@ -823,8 +823,7 @@ if self.has_class() and self.w_class.has_space(): if self.w_class.space().omit_printing_raw_bytes.is_set(): return "<omitted>" - else: - return "'%s'" % self.as_string().replace('\r', '\n') + return "'%s'" % self.as_string().replace('\r', '\n') def as_string(self): if self.bytes is not None: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit