#include <time.h>
#include <stdio.h>
-#include <systemd/sd-journal.h>
+#include "systemd/sd-journal.h"
#include "pyutil.h"
#include "macro.h"
"Part of the context manager protocol.\n"
"Closes the journal.\n");
static PyObject* Reader___exit__(Reader *self, PyObject *args) {
- return Reader_close(self, args);
+ return Reader_close(self, NULL);
}
PyDoc_STRVAR(Reader_next__doc__,
sd_id128_t id;
_cleanup_free_ char *msg = NULL;
- assert(!self);
assert(args);
if (!PyArg_ParseTuple(args, "z:get_catalog", &id_))