[pypy-commit] cffi cffi-1.0: fix

arigo noreply at buildbot.pypy.org
Wed Apr 8 11:11:32 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: cffi-1.0
Changeset: r1681:f56ddf6bed4a
Date: 2015-04-08 11:12 +0200
http://bitbucket.org/cffi/cffi/changeset/f56ddf6bed4a/

Log:	fix

diff --git a/cffi/api.py b/cffi/api.py
--- a/cffi/api.py
+++ b/cffi/api.py
@@ -378,9 +378,9 @@
 
     def recompile(self):
         from .verifier import Verifier
+        modulename, source, kwargs = self._csource
         if self._windows_unicode:
             self._apply_windows_unicode(kwargs)
-        modulename, source, kwargs = self._csource
         verifier = Verifier(self, source, modulename=modulename+'_ffi',
                             tmpdir='.',  **kwargs)
         verifier.compile_module()


More information about the pypy-commit mailing list