Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r60952:338a5d152817 Date: 2013-02-07 21:33 -0800 http://bitbucket.org/pypy/pypy/changeset/338a5d152817/
Log: fix translation diff --git a/pypy/module/_io/interp_fileio.py b/pypy/module/_io/interp_fileio.py --- a/pypy/module/_io/interp_fileio.py +++ b/pypy/module/_io/interp_fileio.py @@ -250,7 +250,7 @@ if self.fd >= 0 and self.closefd: try: r = space.unicode_w(space.repr(w_source)) - space.warn("unclosed file %s" % r, space.w_ResourceWarning) + space.warn(u"unclosed file %s" % r, space.w_ResourceWarning) except OperationError as e: # Spurious errors can appear at shutdown if e.match(space, space.w_Warning): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit