[pypy-commit] cffi default: Py3 compat
arigo
pypy.commits at gmail.com
Tue May 9 12:48:47 EDT 2017
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r2932:bac0dd1b86f9
Date: 2017-05-09 18:31 +0200
http://bitbucket.org/cffi/cffi/changeset/bac0dd1b86f9/
Log: Py3 compat
diff --git a/cffi/recompiler.py b/cffi/recompiler.py
--- a/cffi/recompiler.py
+++ b/cffi/recompiler.py
@@ -1484,7 +1484,7 @@
msg = 'the current directory is'
else:
msg = 'setting the current directory to'
- print '%s %r' % (msg, os.path.abspath(tmpdir))
+ print('%s %r' % (msg, os.path.abspath(tmpdir)))
os.chdir(tmpdir)
outputfilename = ffiplatform.compile('.', ext,
compiler_verbose, debug)
More information about the pypy-commit
mailing list