1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-28 02:25:27 +03:00

Account for sosreport-3.0 plugin format

This commit is contained in:
James Laska 2014-08-14 13:40:21 -04:00
parent a426febece
commit 8fcc7bb71b

View File

@ -38,6 +38,9 @@ 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)
else: