aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2009-06-22 18:45:30 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2009-06-22 18:45:30 +0000
commit4ad6eadf6657fac8fdfce48be3834ddd43202767 (patch)
tree8a31494c2ade6586a5415935ee87047134a1b7e9
parente995436c588e3e7af4864cf8a751ee1d4bcc8111 (diff)
downloadsos-4ad6eadf6657fac8fdfce48be3834ddd43202767.tar.gz
fix dhcp plugin so it will run
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@586 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r--src/lib/sos/plugins/dhcp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/sos/plugins/dhcp.py b/src/lib/sos/plugins/dhcp.py
index b7e5cbd9..872377cf 100644
--- a/src/lib/sos/plugins/dhcp.py
+++ b/src/lib/sos/plugins/dhcp.py
@@ -18,9 +18,9 @@ class dhcp(sos.plugintools.PluginBase):
"""DHCP related information
"""
def checkenabled(self):
- self.files ['/etc/rc.d/init.d/dhcpd']
+ self.files = ['/etc/rc.d/init.d/dhcpd']
self.packages = ['dhcp']
- return sos.plugintools.PluginBase.checkenabled(self)
+ return sos.plugintools.PluginBase.checkenabled(self)
def setup(self):
self.addCopySpec("/etc/sysconfig/dhcrelay")