python: add systemd.id128 module

uuid.UUIDs are utilized to hold UUID values.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-02-22 16:57:43 +01:00
parent 89f603f5d8
commit 927e96326c
5 changed files with 193 additions and 5 deletions
+5 -3
View File
@@ -1,8 +1,10 @@
# -*- Mode: python; indent-tabs-mode: nil -*- */
# -*- Mode: python; coding:utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
#
# Copyright 2012 David Strauss
# Copyright 2012 David Strauss <david@davidstrauss.net>
# Copyright 2012 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
# Copyright 2012 Marti Raudsepp <marti@juffo.org>
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
@@ -120,7 +122,7 @@ class JournalHandler(_logging.Handler):
"""Journal handler class for the Python logging framework.
Please see the Python logging module documentation for an
overview: http://docs.python.org/library/logging.html
overview: http://docs.python.org/library/logging.html.
To create a custom logger whose messages go only to journal: