summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Generators/Debconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Generators/Debconf.py')
-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