Author: Stefano Rivera <stef...@rivera.za.net> Branch: split-verify Changeset: r1361:7e2fb851e5b5 Date: 2013-10-06 19:19 +0200 http://bitbucket.org/cffi/cffi/changeset/7e2fb851e5b5/
Log: Avoid setting force_generic_engine twice diff --git a/cffi/builder.py b/cffi/builder.py --- a/cffi/builder.py +++ b/cffi/builder.py @@ -85,10 +85,10 @@ def makelib(self, libname, source='', **kwargs): # XXX: We use force_generic_engine here because vengine_cpy collects # types when it writes the source. + kwargs['force_generic_engine'] = True import os.path from .verifier import Verifier, _get_so_suffix - self.ffi.verifier = Verifier( - self.ffi, source, force_generic_engine=True, **kwargs) + self.ffi.verifier = Verifier(self.ffi, source, **kwargs) libfilename = '_'.join([self._module_name, libname]) libfilepath = os.path.join( self._module_path, libfilename + _get_so_suffix()) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit