From patchwork Mon Sep 9 21:18:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Terceiro X-Patchwork-Id: 19845 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 40F2325A57 for ; Mon, 9 Sep 2013 21:18:29 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ht10sf7822815vcb.5 for ; Mon, 09 Sep 2013 14:18:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:to:from:subject :message-id:date:reply-to:sender:errors-to:precedence :x-original-sender:x-original-authentication-results:mailing-list :list-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=4xVDfTTXZx+rPF5YckSMQZLpYXUh42DYEiu1R1QRkbI=; b=h43gKSD9J7dY031oaQom9b3gu5mzgnURLxib+d+Cj76HsOzK8nGWdu5l0FLQYes7eE e/WcW/rYPtnJDrsK4SqQueG7RsNNYk3BqA78G02THs163v0tEp3VBtiTjfv0PmwTOVSt pfAqImTbq/koQ/JG/NneOJJ2zrMENsT95oPKboeHzk60TX/6egAENlJUxWQYVQGzL08T mSxbFwuNcczp7yu5Xb9ymVYMq3scA6qEUicXp/b4zlfIUo4s7FswlfWmLELsG3R++EBM cT8uxo6NJ+YKzVb1VOY+0aIKmGEaLASnMV+UZdWvd8UVJMD7khhlhUrzRXIH+kPQQ+ba OVTQ== X-Received: by 10.236.87.232 with SMTP id y68mr7222218yhe.19.1378761508486; Mon, 09 Sep 2013 14:18:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.230 with SMTP id d6ls1897459qey.93.gmail; Mon, 09 Sep 2013 14:18:28 -0700 (PDT) X-Received: by 10.220.46.72 with SMTP id i8mr19799435vcf.10.1378761508202; Mon, 09 Sep 2013 14:18:28 -0700 (PDT) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx.google.com with ESMTPS id bk8si3636227vec.18.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Sep 2013 14:18:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.54 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.54; Received: by mail-vb0-f54.google.com with SMTP id q14so4545349vbe.27 for ; Mon, 09 Sep 2013 14:18:28 -0700 (PDT) X-Gm-Message-State: ALoCoQn9Qkbeavl38nEjMW2vJRAWlxNue5Lc74cpWN5+5VcG3wg+yCLVvdoSFdVmn/IiYqIAqe87 X-Received: by 10.52.227.6 with SMTP id rw6mr16287164vdc.19.1378761507984; Mon, 09 Sep 2013 14:18:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp109216vcz; Mon, 9 Sep 2013 14:18:27 -0700 (PDT) X-Received: by 10.180.160.229 with SMTP id xn5mr10065393wib.62.1378761506644; Mon, 09 Sep 2013 14:18:26 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id w2si5207085wjz.136.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 09 Sep 2013 14:18:26 -0700 (PDT) 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; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1VJ8qo-0003rd-0O for ; Mon, 09 Sep 2013 21:18:26 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id E7C98E176F for ; Mon, 9 Sep 2013 21:18:25 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 675 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 675: [Fathi Boudra] an offset is always an integer] Message-Id: <20130909211825.3155.62833.launchpad@ackee.canonical.com> Date: Mon, 09 Sep 2013 21:18:25 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16761"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 69ed175f75a0d17dd566884770887cbe59d1332d X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.54 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Merge authors: Fathi Boudra (fboudra) Related merge proposals: https://code.launchpad.net/~fboudra/lava-dispatcher/fix-offset/+merge/184504 proposed by: Fathi Boudra (fboudra) ------------------------------------------------------------ revno: 675 [merge] committer: Antonio Terceiro branch nick: trunk timestamp: Mon 2013-09-09 18:11:40 -0300 message: [Fathi Boudra] an offset is always an integer] modified: lava_dispatcher/client/lmc_utils.py --- lp:lava-dispatcher https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk You are subscribed to branch lp:lava-dispatcher. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription === modified file 'lava_dispatcher/client/lmc_utils.py' --- lava_dispatcher/client/lmc_utils.py 2013-07-18 14:01:21 +0000 +++ lava_dispatcher/client/lmc_utils.py 2013-09-09 04:48:29 +0000 @@ -82,7 +82,7 @@ found = re.match(pattern, line) if found: return found.group(1) - return None + return 0 @contextlib.contextmanager