From 2cf2eb7c4d819d8c8ab602dcf37d8b154958265d 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