- PyObject *pArgs = PyTuple_New(2);
- PyTuple_SetItem(pArgs, 0, PyString_FromString(k->first.c_str()));
- PyTuple_SetItem(pArgs, 1, PyString_FromString(k->second.m_action.c_str()));
- ++k;
- Py_INCREF(i->second.m_fnc);
- call_list.push_back(call_entry(i->second.m_fnc, pArgs));
- } else
- ++k;
+ ePyObject pArgs = PyTuple_New(2);
+ PyTuple_SET_ITEM(pArgs, 0, PyString_FromString(k->first.c_str()));
+ PyTuple_SET_ITEM(pArgs, 1, PyString_FromString(k->second.m_action.c_str()));
+ Py_INCREF(c->second.m_fnc);
+ call_list.push_back(call_entry(c->second.m_fnc, pArgs));
+ }