From patchwork Thu May 5 17:50:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: loic.minier@linaro.org X-Patchwork-Id: 1365 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:51:25 -0000 Delivered-To: patches@linaro.org Received: by 10.224.184.145 with SMTP id ck17cs108899qab; Thu, 5 May 2011 10:50:36 -0700 (PDT) Received: by 10.216.245.4 with SMTP id n4mr6609856wer.83.1304617835542; Thu, 05 May 2011 10:50:35 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id m22si6625620weq.167.2011.05.05.10.50.35; Thu, 05 May 2011 10:50:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QI2h7-0005DV-F5 for ; Thu, 05 May 2011 17:50:34 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 5A6EB2E8911 for ; Thu, 5 May 2011 17:50:33 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-image-tools/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 336 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-image-tools/linaro-image-tools/trunk] Rev 336: Fix leftover "!= 0:"; thanks Matt Waddel; LP: #777938. Message-Id: <20110505175033.20221.47162.launchpad@loganberry.canonical.com> Date: Thu, 05 May 2011 17:50:33 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="12959"; Instance="initZopeless config overlay" X-Launchpad-Hash: 70c2de3dacd8578d772e433cedd6af88a58f15b7 ------------------------------------------------------------ revno: 336 fixes bug(s): https://launchpad.net/bugs/777938 committer: Loïc Minier branch nick: linaro-image-tools timestamp: Thu 2011-05-05 19:47:41 +0200 message: Fix leftover "!= 0:"; thanks Matt Waddel; LP: #777938. modified: linaro-media-create --- lp:linaro-image-tools https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk You are subscribed to branch lp:linaro-image-tools. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription === modified file 'linaro-media-create' --- linaro-media-create 2011-05-02 07:59:07 +0000 +++ linaro-media-create 2011-05-05 17:47:41 +0000 @@ -110,7 +110,7 @@ sig_file_list.append(args.binarysig) for sig_file in sig_file_list: hash_file = sig_file[0:-len('.asc')] - cmd_runner.run(['gpg', '--verify', sig_file]).wait() != 0: + cmd_runner.run(['gpg', '--verify', sig_file]).wait() sha1sums_out, _ = cmd_runner.run(['sha1sum', '-c', hash_file], stdout=subprocess.PIPE).communicate() verified_files.extend(sha1sums_out.replace(': OK', '').splitlines())