From patchwork Wed Jan 30 08:33:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 14357 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5AD1223F96 for ; Wed, 30 Jan 2013 08:33:17 +0000 (UTC) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by fiordland.canonical.com (Postfix) with ESMTP id F035EA18F50 for ; Wed, 30 Jan 2013 08:33:16 +0000 (UTC) Received: by mail-vb0-f49.google.com with SMTP id s24so862152vbi.8 for ; Wed, 30 Jan 2013 00:33:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:content-type:mime-version:x-launchpad-project :x-launchpad-branch:x-launchpad-message-rationale :x-launchpad-branch-revision-number:x-launchpad-notification-type:to :from:subject:message-id:date:reply-to:sender:errors-to:precedence :x-generated-by:x-launchpad-hash:x-gm-message-state; bh=vJQ76jfpbDAaeh0UdUG0Yv76s8sXPbFModaS2MOTMXs=; b=Ljh1yDH1rEUmWFYQjAMF8L3yCyoway5KmLerrdFbmxF6OfIHnvzWa1xFnuiUtkwAJo iTcMloaCLhalxLIuInDcvP8Wqr5XQ8mFxlINPaFQRYnT8AjqRhynEKuSs7aEqfYPu57v QBt3vFqxn//VMex//3uWK5m72eFXVPkLAnVyf8my2/Btgr5LNH7G5wZbvGQva7jLVBfy PkqtZorNo4CTYMTzntJpuX5YGx1iqqBQeHPZ6/4KZ11fq3u4MWnWwEW9TRUmAwuQt/nw UQpmFtReWdOgmhJj6wjBJSfaqBXju7CHWxlVULsf2OeLRZBZtsQGPaNTPY56C/kqk+Ob OcZg== X-Received: by 10.220.119.200 with SMTP id a8mr4192942vcr.38.1359534796485; Wed, 30 Jan 2013 00:33:16 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.133.116 with SMTP id pb20csp174338veb; Wed, 30 Jan 2013 00:33:15 -0800 (PST) X-Received: by 10.180.100.163 with SMTP id ez3mr6797262wib.32.1359534795141; Wed, 30 Jan 2013 00:33:15 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id dj2si1724901wib.100.2013.01.30.00.33.14 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 30 Jan 2013 00:33:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1U0T6X-0005Z3-UJ for ; Wed, 30 Jan 2013 08:33:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id D7995E0561 for ; Wed, 30 Jan 2013 08:33:13 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-scheduler X-Launchpad-Branch: ~linaro-validation/lava-scheduler/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 241 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-scheduler/trunk] Rev 241: fix short log view Message-Id: <20130130083313.13237.41342.launchpad@ackee.canonical.com> Date: Wed, 30 Jan 2013 08:33:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16455"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 46deba57a6dbd5b5b4429f383d5ea9799900bac6 X-Gm-Message-State: ALoCoQkB5LJcqDsatUt7GqOy92VZ4gy1GzmASPfFFRvPBB/6fJwK4gdLn0p/AH/FA14tWQF4fqhi ------------------------------------------------------------ revno: 241 committer: Michael Hudson-Doyle branch nick: trunk timestamp: Wed 2013-01-30 21:31:57 +1300 message: fix short log view modified: lava_scheduler_app/views.py --- lp:lava-scheduler https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk You are subscribed to branch lp:lava-scheduler. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription === modified file 'lava_scheduler_app/views.py' --- lava_scheduler_app/views.py 2013-01-30 01:31:16 +0000 +++ lava_scheduler_app/views.py 2013-01-30 08:31:57 +0000 @@ -570,8 +570,8 @@ log_file = job.output_file() if log_file: - job_errors = getDispatcherErrors(log_file) - job_log_messages = getDispatcherLogMessages(log_file) + job_errors = getDispatcherErrors(job.output_file()) + job_log_messages = getDispatcherLogMessages(job.output_file()) levels = defaultdict(int) for kl in ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']: