aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/python
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/python')
-rw-r--r--plugins/python/python-plugin-loader.c12
-rw-r--r--plugins/python/python-plugin-loader.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/python/python-plugin-loader.c b/plugins/python/python-plugin-loader.c
index 5e7a83fb29..ea9ab4bfb0 100644
--- a/plugins/python/python-plugin-loader.c
+++ b/plugins/python/python-plugin-loader.c
@@ -10,7 +10,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors:
@@ -26,7 +26,7 @@
#include "python-plugin-loader.h"
-#define d(x)
+#define d(x)
static void *epp_parent_class;
@@ -84,17 +84,17 @@ epp_invoke(EPlugin *ep, const char *name, void *data)
p->pDict = PyModule_GetDict(p->pModule);
if (epp->pClass) {
- p->pClass = PyDict_GetItemString(p->pDict, epp->pClass);
+ p->pClass = PyDict_GetItemString(p->pDict, epp->pClass);
}
}
if (p->pClass) {
- if (PyCallable_Check(p->pClass))
- pInstance = PyObject_CallObject(p->pClass, NULL);
+ if (PyCallable_Check(p->pClass))
+ pInstance = PyObject_CallObject(p->pClass, NULL);
pValue = PyObject_CallMethod(pInstance, name, NULL);
-
+
} else {
pFunc = PyDict_GetItemString(p->pDict, name);
diff --git a/plugins/python/python-plugin-loader.h b/plugins/python/python-plugin-loader.h
index 86e94d667b..4f9656e119 100644
--- a/plugins/python/python-plugin-loader.h
+++ b/plugins/python/python-plugin-loader.h
@@ -10,7 +10,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors: