From 0425300cff5d90fb7eb302b6f36830b816f5ca2a Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 8 Nov 2004 20:59:47 +0000 Subject: 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 --- src/lib/Server/Generators/Debconf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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('''lspci|grep VGA''')] - 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 -- cgit v1.2.3-1-g7c22