mirror of https://github.com/Icinga/icinga2.git
Build fix for libpython.
This commit is contained in:
parent
fae83d2ef6
commit
e683de5ab8
|
@ -291,7 +291,7 @@ PyObject *PythonLanguage::PyCallNativeFunction(PyObject *self, PyObject *args)
|
|||
|
||||
char *name = PyString_AsString(self);
|
||||
|
||||
ScriptFunction::Ptr function = ScriptFunction::GetByName(name);
|
||||
ScriptFunction::Ptr function = ScriptFunctionRegistry::GetInstance()->GetItem(name);
|
||||
|
||||
vector<Value> arguments;
|
||||
|
||||
|
|
Loading…
Reference in New Issue