From c45147e35fcbe9ca5605ec92ed4a189a92a2049e Mon Sep 17 00:00:00 2001 From: James Laska Date: Thu, 14 Aug 2014 13:45:49 -0400 Subject: [PATCH] sosreport plugin docs recommend add_cmd_output --- tools/sosreport/tower.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/sosreport/tower.py b/tools/sosreport/tower.py index f337c754d4..3cbdb78f09 100644 --- a/tools/sosreport/tower.py +++ b/tools/sosreport/tower.py @@ -38,10 +38,7 @@ if LooseVersion(sos.__version__) >= LooseVersion('3.0'): self.add_copy_spec(path) for command in commands: - if hasattr(self, 'add_cmd_output'): - self.add_cmd_output(command) - else: - self.collect_ext_output(command) + self.add_cmd_output(command) else: import sos.plugintools