From 0f1402b0439324bfe225bad2310ce795842189ec Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Wed, 10 Jun 2015 13:35:20 +0100 Subject: [openstack_heat] fix plugin class imports Signed-off-by: Bryn M. Reeves --- sos/plugins/openstack_heat.py | 10 ++++------ 1 file 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', -- cgit