diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2004-11-08 20:59:47 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2004-11-08 20:59:47 +0000 |
commit | 0425300cff5d90fb7eb302b6f36830b816f5ca2a (patch) | |
tree | dd470b519afb84a65d94bc41747f0f8c4d6e81e1 /src | |
parent | 50f91e1dace18d5bd668c2ed4113492281b2a8b8 (diff) | |
download | bcfg2-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.py | 4 |
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 |