sosreport plugin docs recommend add_cmd_output

This commit is contained in:
James Laska 2014-08-14 13:45:49 -04:00
parent 8fcc7bb71b
commit c45147e35f

View File

@ -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