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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx>
---
 client/profilers/ftrace/ftrace.py |    1 +
 mirror/config-sample.py           |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

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@xxxxxxxx'))
+trigger_module.trigger.add_action(trigger_module.map_action(_tests_map, 'kerntest-%s'))
+trigger_module.trigger.add_action(trigger_module.email_action('test@xxxxxxxx'))
-- 
1.7.5

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux