From 4bd76ef2ff4d491e6927a0a131b11c00170733f4 Mon Sep 17 00:00:00 2001 From: James Newton Date: Wed, 19 Dec 2007 17:22:15 +0000 Subject: [PATCH] Return error under error condition --- src/osx/idle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osx/idle.c b/src/osx/idle.c index c24c30438..badad7fba 100644 --- a/src/osx/idle.c +++ b/src/osx/idle.c @@ -114,6 +114,7 @@ static PyObject * idle_getIdleSec(PyObject *self, PyObject *args) else { printf("Couldn't grab properties of system\n"); + return NULL; } if (obj)