From 4ca1ee26b60f254dd65f8d8744e05d5ac12a3bdd Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Wed, 20 Jun 2018 17:49:27 +0100 Subject: [Plugin] fix Plugin.add_journal() kwarg use The add_journal() method _must_ use explicit kwarg notation when calling the _add_cmd_output() helper. Signed-off-by: Bryn M. Reeves --- sos/plugins/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 6c489fdb..b1c225db 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -867,9 +867,8 @@ class Plugin(object): journal_cmd += output_opt % output self._log_debug("collecting journal: %s" % journal_cmd) - self._add_cmd_output(journal_cmd, None, None, timeout, - sizelimit=sizelimit - ) + self._add_cmd_output(journal_cmd, timeout=timeout, + sizelimit=sizelimit) def add_udev_info(self, device, attrs=False): """Collect udevadm info output for a given device -- cgit