From 5bb2b8d5e40eadde6ab9cc2941d2395c93e2a545 Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Sat, 16 Feb 2013 18:53:52 +0000 Subject: systemd-python: _reader add_match takes single string python code now takes care of multiple matches --- src/python-systemd/journal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/python-systemd/journal.py') diff --git a/src/python-systemd/journal.py b/src/python-systemd/journal.py index 46affcee00..279662e6a6 100644 --- a/src/python-systemd/journal.py +++ b/src/python-systemd/journal.py @@ -113,7 +113,8 @@ class Journal(_Journal): def add_match(self, *args, **kwargs): args = list(args) args.extend(_make_line(key, val) for key, val in kwargs.items()) - super(Journal, self).add_match(*args) + for arg in args: + super(Journal, self).add_match(arg) def get_next(self, skip=1): return self._convert_entry( -- cgit v1.2.3-54-g00ecf