From patchwork Wed Nov 9 16:40:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongqin Liu X-Patchwork-Id: 4981 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 AA41F23E0D for ; Wed, 9 Nov 2011 16:40:18 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 8C417A18898 for ; Wed, 9 Nov 2011 16:40:18 +0000 (UTC) Received: by faan26 with SMTP id n26so2609250faa.11 for ; Wed, 09 Nov 2011 08:40:18 -0800 (PST) Received: by 10.152.112.10 with SMTP id im10mr2077775lab.2.1320856818173; Wed, 09 Nov 2011 08:40:18 -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.152.10.72 with SMTP id g8cs177211lab; Wed, 9 Nov 2011 08:40:17 -0800 (PST) Received: by 10.180.89.5 with SMTP id bk5mr3662619wib.60.1320856815799; Wed, 09 Nov 2011 08:40:15 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id cf10si3126541wib.74.2011.11.09.08.40.15 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Nov 2011 08:40: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 1ROBCB-0000JP-AN for ; Wed, 09 Nov 2011 16:40:15 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 3815CE0329 for ; Wed, 9 Nov 2011 16:40:15 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard-tool X-Launchpad-Branch: ~linaro-validation/lava-dashboard-tool/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 155 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard-tool/trunk] Rev 155: fix lp:887963 --use SHA as default file name of the bundle to be downloaded Message-Id: <20111109164015.26550.24721.launchpad@ackee.canonical.com> Date: Wed, 09 Nov 2011 16:40:15 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14263"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: fb84f65c75469ec23a15c88962073d1a5f4216ff Merge authors: Yongqin Liu (liuyq0307) Related merge proposals: https://code.launchpad.net/~liuyq0307/lava-dashboard-tool/fix-887963/+merge/81727 proposed by: Yongqin Liu (liuyq0307) review: Approve - Yongqin Liu (liuyq0307) ------------------------------------------------------------ revno: 155 [merge] committer: Yongqin Liu branch nick: lava-dashboard-tool timestamp: Thu 2011-11-10 00:35:45 +0800 message: fix lp:887963 --use SHA as default file name of the bundle to be downloaded modified: lava_dashboard_tool/commands.py --- lp:lava-dashboard-tool https://code.launchpad.net/~linaro-validation/lava-dashboard-tool/trunk You are subscribed to branch lp:lava-dashboard-tool. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard-tool/trunk/+edit-subscription === modified file 'lava_dashboard_tool/commands.py' --- lava_dashboard_tool/commands.py 2011-07-21 16:44:24 +0000 +++ lava_dashboard_tool/commands.py 2011-11-09 12:18:54 +0000 @@ -508,7 +508,7 @@ def invoke_remote(self): response = self.server.get(self.args.SHA1) if self.args.output is None: - filename = response['content_filename'] + filename = self.args.SHA1 if os.path.exists(filename) and not self.args.overwrite: print >> sys.stderr, "File {filename!r} already exists".format( filename=filename)