From 76593ff7c901b99ac7b2f24efe56944e642c872e Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Wed, 20 Jun 2018 17:43:01 +0100 Subject: [Plugin] fix Plugin.add_cmd_output() kwarg use The add_cmd_output() method _must_ use explicit kwarg notation when calling the _add_cmd_output() helper. Signed-off-by: Bryn M. Reeves --- sos/plugins/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 3f434353..6c489fdb 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -673,9 +673,10 @@ class Plugin(object): if len(cmds) > 1 and (suggest_filename or root_symlink): self._log_warn("ambiguous filename or symlink for command list") for cmd in cmds: - self._add_cmd_output(cmd, suggest_filename, - root_symlink, timeout, stderr, - chroot, runat, env, binary, sizelimit) + self._add_cmd_output(cmd, suggest_filename=suggest_filename, + root_symlink=root_symlink, timeout=timeout, + stderr=stderr, chroot=chroot, runat=runat, + env=env, binary=binary, sizelimit=sizelimit) def get_cmd_output_path(self, name=None, make=True): """Return a path into which this module should store collected -- cgit