aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/python
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 11:21:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 11:21:02 +0800
commite4afd3f9fb962ea1295a0657ec9f83a427829171 (patch)
tree85d2cd048f634f344e287b55a8ed48116c21e987 /plugins/python
parent75a36a295adb64a012521c01724d6b2951986653 (diff)
downloadgsoc2013-evolution-e4afd3f9fb962ea1295a0657ec9f83a427829171.tar.gz
gsoc2013-evolution-e4afd3f9fb962ea1295a0657ec9f83a427829171.tar.zst
gsoc2013-evolution-e4afd3f9fb962ea1295a0657ec9f83a427829171.zip
Remove trailing whitespace, again.
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: