From df25435e56b52dfb60807f065b093c0b7acc6c90 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 30 May 2010 11:18:54 +0200 Subject: [PATCH] Fix typo reported in bug #1585 --- bacula/src/dird/pythondir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/pythondir.c b/bacula/src/dird/pythondir.c index c804a3d717..12bfc6a2c8 100644 --- a/bacula/src/dird/pythondir.c +++ b/bacula/src/dird/pythondir.c @@ -202,7 +202,7 @@ PyObject *job_getattr(PyObject *self, char *attrname) buf[1] = 0; buf[0] = jcr->FDJobStatus; return Py_BuildValue((char *)getvars[i].fmt, buf); - case 29: /* SDJobStatus */ + case 20: /* SDJobStatus */ buf[1] = 0; buf[0] = jcr->SDJobStatus; return Py_BuildValue((char *)getvars[i].fmt, buf); -- 2.39.5