mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Expand sos report plugin compatibility
sos 4 now uses sos.report.plugin when sos 3 was using sos.plugins. This change allows compatibility with both.
This commit is contained in:
parent
0a5e9da287
commit
645f7f6dac
@ -1,7 +1,10 @@
|
||||
# Copyright (c) 2016 Ansible, Inc.
|
||||
# All Rights Reserved.
|
||||
|
||||
from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin
|
||||
try:
|
||||
from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin
|
||||
except ImportError:
|
||||
from sos.report.plugins import Plugin, RedHatPlugin, UbuntuPlugin
|
||||
|
||||
SOSREPORT_TOWER_COMMANDS = [
|
||||
"awx-manage --version", # tower version
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user