mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user