From patchwork Fri May 6 22:24:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 763432 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p46MOvwx004100 for ; Fri, 6 May 2011 22:24:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753109Ab1EFWYl (ORCPT ); Fri, 6 May 2011 18:24:41 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:50256 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753130Ab1EFWYf (ORCPT ); Fri, 6 May 2011 18:24:35 -0400 Received: by mail-gw0-f46.google.com with SMTP id a18so1344533gwa.19 for ; Fri, 06 May 2011 15:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:date:message-id :x-mailer:in-reply-to:references; bh=mW+12G2jefn1heI+b5zLpsCeFDMdBRNf9uukg07WStc=; b=hfu92l8TCVNbo2PaqgCxko0QisZqJi4gGUkyIuNiYGoK34PUx6qm9V6gdwHjTGfF9o nNWGd5lSgGsB+CEUdeaqLM1BnfYa8wc5qYwTYd+ZWb6TGuXMqfTo8m/nbuwZLDiu84IL 2C75J9hNyQBpZO833LaHgEvDe3JePz/FTsyPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=OzH85VA5aWKubfZyI+iJEpu75HuUdFpqdItOYD1V5Ktp2zrFvTLZAt5zRbd6EfFcFq RkbpN3r6W14BDuxUZq+H6VVE5Z369QmAJbJmDcdRg6uX2O6uw7kA1hl6rbLCzhnoCbM5 5RuVTTvNiF0QKbITUOVSB9YLy3qdOkUl/N7fA= Received: by 10.236.92.9 with SMTP id i9mr5072283yhf.112.1304720675452; Fri, 06 May 2011 15:24:35 -0700 (PDT) Received: from localhost.localdomain ([187.112.24.224]) by mx.google.com with ESMTPS id p9sm1698867yhm.7.2011.05.06.15.24.32 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 May 2011 15:24:34 -0700 (PDT) From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, 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> X-Mailer: git-send-email 1.7.5 In-Reply-To: <1304720654-3724-1-git-send-email-lmr@redhat.com> References: <1304720654-3724-1-git-send-email-lmr@redhat.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 06 May 2011 22:24:58 +0000 (UTC) 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'))