projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Split the Values class into PluginData and Values to use PluginData as a baseclass...
[collectd.git]
/
src
/
python.c
diff --git
a/src/python.c
b/src/python.c
index
f9360c3
..
193243b
100644
(file)
--- a/
src/python.c
+++ b/
src/python.c
@@
-620,6
+620,8
@@
static int cpy_config(oconfig_item_t *ci) {
Py_Initialize();
PyType_Ready(&ConfigType);
+ PyType_Ready(&PluginDataType);
+ ValuesType.tp_base = &PluginDataType;
PyType_Ready(&ValuesType);
sys = PyImport_ImportModule("sys"); /* New reference. */
if (sys == NULL) {