shithub: aubio

Download patch

ref: bbc62b58100bcb0cb0055abea9dcd46803b6d8f4
parent: 29693d07736a0b1b2f980e2a6818f15a88fbd7c7
author: Paul Brossier <piem@piem.org>
date: Tue May 10 15:53:17 EDT 2016

python/lib/gen_code.py: fix format string

--- a/python/lib/gen_code.py
+++ b/python/lib/gen_code.py
@@ -374,7 +374,7 @@
         #print output_params
         for input_param in input_params:
             out += """
-    PyObject *py_{0};""".format(input_param['name'], input_param['type'])
+    PyObject *py_{0};""".format(input_param['name'])
         refs = ", ".join(["&py_%s" % p['name'] for p in input_params])
         pyparamtypes = "".join([pyargparse_chars[p['type']] for p in input_params])
         out += """