Author: Armin Rigo <[email protected]>
Branch:
Changeset: r2153:13a8f80fab66
Date: 2015-06-01 18:29 +0200
http://bitbucket.org/cffi/cffi/changeset/13a8f80fab66/
Log: Move these two lines outside the "with"
diff --git a/cffi/setuptools_ext.py b/cffi/setuptools_ext.py
--- a/cffi/setuptools_ext.py
+++ b/cffi/setuptools_ext.py
@@ -19,8 +19,8 @@
# we are generating.
with open(filename) as f:
src = f.read()
- src += '\n' # Python 2.6 compatibility
- code = compile(src, filename, 'exec')
+ src += '\n' # Python 2.6 compatibility
+ code = compile(src, filename, 'exec')
exec(code, glob, glob)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit