aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-06-10 13:35:20 +0100
committerBryn M. Reeves <bmr@redhat.com>2015-06-10 13:35:20 +0100
commit0f1402b0439324bfe225bad2310ce795842189ec (patch)
treeae20103eff8a8c319ec9944434ccde6176312011
parent3721fe6895a5287823ebb949f3fd89658b494166 (diff)
downloadsos-0f1402b0439324bfe225bad2310ce795842189ec.tar.gz
[openstack_heat] fix plugin class imports
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/openstack_heat.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/sos/plugins/openstack_heat.py b/sos/plugins/openstack_heat.py
index e3a83ed1..dbfd1d56 100644
--- a/sos/plugins/openstack_heat.py
+++ b/sos/plugins/openstack_heat.py
@@ -14,10 +14,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-from sos import plugins
+from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin
-class OpenStackHeat(plugins.Plugin):
+class OpenStackHeat(Plugin):
"""OpenStack Heat
"""
plugin_name = "openstack_heat"
@@ -37,9 +37,7 @@ class OpenStackHeat(plugins.Plugin):
])
-class DebianOpenStack(OpenStackHeat,
- plugins.DebianPlugin,
- plugins.UbuntuPlugin):
+class DebianOpenStack(OpenStackHeat, DebianPlugin, UbuntuPlugin):
packages = (
'heat-api',
@@ -52,7 +50,7 @@ class DebianOpenStack(OpenStackHeat,
)
-class RedHatOpenStack(OpenStackHeat, plugins.RedHatPlugin):
+class RedHatOpenStack(OpenStackHeat, RedHatPlugin):
packages = (
'openstack-heat-api',