diff mbox

[4/4] mirror.config-sample: Fixing undefined variable error

Message ID 1304720654-3724-4-git-send-email-lmr@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Meneghel Rodrigues May 6, 2011, 10:24 p.m. UTC
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 client/profilers/ftrace/ftrace.py |    1 +
 mirror/config-sample.py           |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/client/profilers/ftrace/ftrace.py b/client/profilers/ftrace/ftrace.py
index dd13fff..03c9d84 100644
--- a/client/profilers/ftrace/ftrace.py
+++ b/client/profilers/ftrace/ftrace.py
@@ -5,6 +5,7 @@  Function tracer profiler for autotest.
 """
 import logging, os, signal, time
 from autotest_lib.client.bin import profiler, utils
+from autotest_lib.client.common_lib import error
 
 
 class ftrace(profiler.profiler):
diff --git a/mirror/config-sample.py b/mirror/config-sample.py
index 29e215f..7788aa2 100644
--- a/mirror/config-sample.py
+++ b/mirror/config-sample.py
@@ -88,5 +88,5 @@  _tests_map = {
 
 # now register some trigger actions otherwise nothing will be done for the new
 # kernel versions
-trigger.add_action(trigger_module.map_action(_tests_map, 'kerntest-%s'))
-trigger.add_action(trigger_module.email_action('test@test.com'))
+trigger_module.trigger.add_action(trigger_module.map_action(_tests_map, 'kerntest-%s'))
+trigger_module.trigger.add_action(trigger_module.email_action('test@test.com'))