summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-11-08 20:59:47 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-11-08 20:59:47 +0000
commit0425300cff5d90fb7eb302b6f36830b816f5ca2a (patch)
treedd470b519afb84a65d94bc41747f0f8c4d6e81e1 /src
parent50f91e1dace18d5bd668c2ed4113492281b2a8b8 (diff)
downloadbcfg2-0425300cff5d90fb7eb302b6f36830b816f5ca2a.tar.gz
bcfg2-0425300cff5d90fb7eb302b6f36830b816f5ca2a.tar.bz2
bcfg2-0425300cff5d90fb7eb302b6f36830b816f5ca2a.zip
fix docstring
2004/11/05 13:06:19-06:00 anl.gov!desai kill __setup__ usage (Logical change 1.148) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@657 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Generators/Debconf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Server/Generators/Debconf.py b/src/lib/Server/Generators/Debconf.py
index 51f663e1e..9ab920379 100644
--- a/src/lib/Server/Generators/Debconf.py
+++ b/src/lib/Server/Generators/Debconf.py
@@ -15,7 +15,8 @@ class Debconf(Generator):
probes = [XML('''<probe interpreter='/bin/sh'>lspci|grep VGA</probe>''')]
- def __setup__(self):
+ def __init__(self, core, datastore):
+ Generator.__init__(self, core, datastore)
self.repo = DirectoryBacked(self.data, self.core.fam)
self.xsensed = {}
@@ -29,6 +30,7 @@ class Debconf(Generator):
entry.text = filedata % (metadata.hostname, xdriver)
def get_probes(self, metadata):
+ '''Send out X probe'''
return self.probes