aboutsummaryrefslogtreecommitdiffstats
path: root/src/example_plugins/runcommand.py
diff options
context:
space:
mode:
authorsconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-07-17 15:12:16 +0000
committersconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-07-17 15:12:16 +0000
commit6272e3abf035e9a24bb37a4e27a12c35bb87cb3f (patch)
tree013a799c235abd64652c6e317285f55ee3ea1239 /src/example_plugins/runcommand.py
parent84e7def56d181cccce5b5afa05035cfe94e50022 (diff)
downloadsos-6272e3abf035e9a24bb37a4e27a12c35bb87cb3f.tar.gz
cleaned up example plugins
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@16 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/example_plugins/runcommand.py')
-rwxr-xr-xsrc/example_plugins/runcommand.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/example_plugins/runcommand.py b/src/example_plugins/runcommand.py
index fa16020e..af8cc4fe 100755
--- a/src/example_plugins/runcommand.py
+++ b/src/example_plugins/runcommand.py
@@ -1,10 +1,6 @@
-#!/usr/bin/env python
-
## runcommand.py
## An example plugin for sos
-## Copyright (C) 2006 Steve Conklin <sconklin@redhat.com>
-
### This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
@@ -39,17 +35,6 @@ class runcommand(sos.plugintools.PluginBase):
Your finished plugin should be included with your package and installed in python's
site-packages/sos/plugins/ directory
"""
- optionList = []
- copiedFiles = []
- copiedDirs = []
- executedCommands = []
- alerts = []
- customText = ""
- cInfo = None
- piName = None
- optNames = []
- optParms = []
-
def collect(self):
''' Run a command. Output is automatically included in the report.
'''