Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormike <michael.jmontcalm@gmail.com>2009-12-09 09:35:44 (GMT)
committer mike <michael.jmontcalm@gmail.com>2009-12-09 09:35:44 (GMT)
commit102c56cabd694f025ea2efb2e2cd3a501c700dfd (patch)
tree35df7aaf78e214682a4685aed05021fdde2ffb53
parent22bdfd56e332f3bcdacc4ee0395eeccadff4efda (diff)
Converting ReadFile to Testing addon, Correcting Translator's ProbeManager interface
-rw-r--r--addons/readfile.py3
-rw-r--r--tutorius/translator.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/addons/readfile.py b/addons/readfile.py
index 494483c..63fec43 100644
--- a/addons/readfile.py
+++ b/addons/readfile.py
@@ -47,5 +47,6 @@ __action__ = {
"display_name" : "Read File",
"icon" : "message-bubble", #FIXME
"class" : ReadFile,
- "mandatory_props" : ["filename"]
+ "mandatory_props" : ["filename"],
+ "test" : True
}
diff --git a/tutorius/translator.py b/tutorius/translator.py
index d876f28..1494173 100644
--- a/tutorius/translator.py
+++ b/tutorius/translator.py
@@ -211,6 +211,8 @@ class ResourceTranslator(object):
def get_registered_probes_list(self, process_name=None):
return self._probe_manager.get_registered_probes_list(process_name)
+ def create_event(self, *args, **kwargs):
+ return self._probe_manager.create_event(*args, **kwargs)
###########################################################################
def action_installed(self, action_installed_cb, address):