aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-11-29 20:56:47 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-11-29 20:56:47 +0000
commit8cd42d3d2af6f707d6a3ae1a84424669811aeb3e (patch)
tree8ff30287166a7c11b41ccb9069f6b333305511bc
parent5528569f88de2b5237d972fc80f1a179f38b6aa8 (diff)
downloadsos-8cd42d3d2af6f707d6a3ae1a84424669811aeb3e.tar.gz
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.
-rw-r--r--sos/plugins/cgroups.py4
1 files changed, 3 insertions, 1 deletions
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):