diff options
author | Armin Rigo <arigo@tunes.org> | 2017-05-09 18:31:21 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2017-05-09 18:31:21 +0200 |
commit | 594c8e7358b9e025a459dc2d9618e01fea448593 (patch) | |
tree | bbf45660d2f1e8f4ef93e6b962a8b7e1403932f2 | |
parent | a85cba56e1feae78677e48cac1f0318cb011fd1e (diff) | |
download | cffi-594c8e7358b9e025a459dc2d9618e01fea448593.tar.gz |
Py3 compat
-rw-r--r-- | cffi/recompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cffi/recompiler.py b/cffi/recompiler.py index dde4d4e..aa16cb6 100644 --- a/cffi/recompiler.py +++ b/cffi/recompiler.py @@ -1484,7 +1484,7 @@ def recompile(ffi, module_name, preamble, tmpdir='.', call_c_compiler=True, 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) |