summaryrefslogtreecommitdiff
path: root/src/python-systemd
diff options
context:
space:
mode:
Diffstat (limited to 'src/python-systemd')
-rw-r--r--src/python-systemd/journal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python-systemd/journal.py b/src/python-systemd/journal.py
index 1f0aafc7fe..fafddaa27e 100644
--- a/src/python-systemd/journal.py
+++ b/src/python-systemd/journal.py
@@ -22,6 +22,7 @@
import datetime
import functools
import sys
+import uuid
import traceback as _traceback
import os as _os
import logging as _logging
@@ -39,6 +40,7 @@ class Journal(_Journal):
else:
self.default_call = functools.partial(unicode, encoding='utf-8')
self.call_dict = {
+ 'MESSAGE_ID': uuid.UUID,
'PRIORITY': int,
'LEADER': int,
'SESSION_ID': int,