diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-06-10 13:34:14 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-06-10 13:34:14 +0100 |
commit | 3721fe6895a5287823ebb949f3fd89658b494166 (patch) | |
tree | fef99aa07fa96833f8cf733cfa585623e0158ccf | |
parent | f1a7aea0f45485cbe12e95f38c6b0dc6ad12dd58 (diff) | |
download | sos-3721fe6895a5287823ebb949f3fd89658b494166.tar.gz |
[openstack_glance] fix plugin class imports
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/openstack_glance.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sos/plugins/openstack_glance.py b/sos/plugins/openstack_glance.py index 31cc228a..f99bb749 100644 --- a/sos/plugins/openstack_glance.py +++ b/sos/plugins/openstack_glance.py @@ -17,10 +17,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 OpenStackGlance(plugins.Plugin): +class OpenStackGlance(Plugin): """OpenStack Glance""" plugin_name = "openstack_glance" profiles = ('openstack',) @@ -39,9 +39,7 @@ class OpenStackGlance(plugins.Plugin): ]) -class DebianOpenStackGlance(OpenStackGlance, - plugins.DebianPlugin, - plugins.UbuntuPlugin): +class DebianOpenStackGlance(OpenStackGlance, DebianPlugin, UbuntuPlugin): packages = ( 'glance', @@ -53,7 +51,7 @@ class DebianOpenStackGlance(OpenStackGlance, ) -class RedHatOpenStackGlance(OpenStackGlance, plugins.RedHatPlugin): +class RedHatOpenStackGlance(OpenStackGlance, RedHatPlugin): packages = ( 'openstack-glance', |