From: Paul Brossier Date: Tue, 10 May 2016 17:53:17 +0000 (+0200) Subject: python/lib/gen_code.py: fix format string X-Git-Tag: 0.4.4~300^2~102 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=bbc62b58100bcb0cb0055abea9dcd46803b6d8f4;p=aubio.git python/lib/gen_code.py: fix format string --- diff --git a/python/lib/gen_code.py b/python/lib/gen_code.py index 6fc8e2a3..f235d657 100644 --- a/python/lib/gen_code.py +++ b/python/lib/gen_code.py @@ -374,7 +374,7 @@ Py_{shortname}_do (Py_{shortname} * self, PyObject * args) #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 += """