From 8cd42d3d2af6f707d6a3ae1a84424669811aeb3e Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Thu, 29 Nov 2012 20:56:47 +0000 Subject: Fix typo in cgroups module and set plugin_name Fix a typo in the plugin class import statement and set the base class's plugin_name. --- sos/plugins/cgroups.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sos/plugins/cgroups.py b/sos/plugins/cgroups.py index 08557e55..73e6ac93 100644 --- a/sos/plugins/cgroups.py +++ b/sos/plugins/cgroups.py @@ -12,12 +12,14 @@ ## along with this program; if not, write to the Free Software ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -from sos.plugintools import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin +from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin class cgroups(Plugin, DebianPlugin, UbuntuPlugin): """cgroup subsystem information """ + plugin_name = "cgroups" + files = ('/proc/cgroups',) def setup(self): -- cgit