From a26988883656f0c977a234eda3daef3c0281a862 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 17 Jan 2012 09:24:41 +0100 Subject: [PATCH] Fix python module compilation --- bacula/src/dird/pythondir.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bacula/src/dird/pythondir.c b/bacula/src/dird/pythondir.c index 20a78ab29f..fb05f89d35 100644 --- a/bacula/src/dird/pythondir.c +++ b/bacula/src/dird/pythondir.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2004-2008 Free Software Foundation Europe e.V. + Copyright (C) 2004-2012 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -31,7 +31,6 @@ * * Kern Sibbald, November MMIV * - * Version $Id$ * */ @@ -420,7 +419,7 @@ static PyObject *job_cancel(PyObject *self, PyObject *args) // PyEval_ReleaseLock(); UAContext *ua = new_ua_context(jcr); ua->batch = true; - if (!cancel_job(ua, jcr)) { + if (!cancel_job(ua, jcr, true)) { /* ***FIXME*** raise exception */ return NULL; } -- 2.39.5