bindings/python/ns3modulegen_core_customizations.py
changeset 3412 518719e905a0
parent 3408 2cc40b3e4fa5
child 3421 b9424c43753d
--- a/bindings/python/ns3modulegen_core_customizations.py	Wed Jul 09 17:31:37 2008 +0100
+++ b/bindings/python/ns3modulegen_core_customizations.py	Wed Jul 09 18:33:16 2008 +0100
@@ -145,7 +145,7 @@
 
     def generate_python_call(self):
         """code to call the python method"""
-        build_params = self.build_params.get_parameters()
+        build_params = self.build_params.get_parameters(force_tuple_creation=True)
         if build_params[0][0] == '"':
             build_params[0] = '(char *) ' + build_params[0]
         args = self.before_call.declare_variable('PyObject*', 'args')