From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: [PATCH 4/4] mirror.config-sample: Fixing undefined variable error Date: Fri, 6 May 2011 19:24:14 -0300 Message-ID: <1304720654-3724-4-git-send-email-lmr@redhat.com> References: <1304720654-3724-1-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: autotest@test.kernel.org Return-path: In-Reply-To: <1304720654-3724-1-git-send-email-lmr@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org Signed-off-by: Lucas Meneghel Rodrigues --- 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@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')) -- 1.7.5