]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix python module compilation
authorEric Bollengier <eric@baculasystems.com>
Tue, 17 Jan 2012 08:24:41 +0000 (09:24 +0100)
committerEric Bollengier <eric@baculasystems.com>
Tue, 17 Jan 2012 13:03:20 +0000 (14:03 +0100)
bacula/src/dird/pythondir.c

index 20a78ab29f9c9dc57b7bf819543fc77684233ae3..fb05f89d356256734d05d1b843e3a25f1fdd74df 100644 (file)
@@ -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;
    }