X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fpython-systemd%2F_reader.c;fp=src%2Fpython-systemd%2F_reader.c;h=2c699630c27d13ec997a0f31abc777b3f64b3ac0;hb=a688baa8b71f9c74500f7883dfb137194874266a;hp=c4c4fdfe1d19ddc29a2c4b3ab8c027997739ee42;hpb=c5a10d9ca017be6133154e09383c84c3d5b85f7c;p=elogind.git diff --git a/src/python-systemd/_reader.c b/src/python-systemd/_reader.c index c4c4fdfe1..2c699630c 100644 --- a/src/python-systemd/_reader.c +++ b/src/python-systemd/_reader.c @@ -1097,6 +1097,7 @@ init_reader(void) PyModule_AddIntConstant(m, "INVALIDATE", SD_JOURNAL_INVALIDATE) || PyModule_AddIntConstant(m, "LOCAL_ONLY", SD_JOURNAL_LOCAL_ONLY) || PyModule_AddIntConstant(m, "RUNTIME_ONLY", SD_JOURNAL_RUNTIME_ONLY) || + PyModule_AddIntConstant(m, "SYSTEM", SD_JOURNAL_SYSTEM) || PyModule_AddIntConstant(m, "SYSTEM_ONLY", SD_JOURNAL_SYSTEM_ONLY) || PyModule_AddStringConstant(m, "__version__", PACKAGE_VERSION)) { #if PY_MAJOR_VERSION >= 3