From bbc62b58100bcb0cb0055abea9dcd46803b6d8f4 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 10 May 2016 19:53:17 +0200 Subject: [PATCH] python/lib/gen_code.py: fix format string --- python/lib/gen_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 += """ -- 2.11.0