diff mbox

[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
State Accepted
Headers show

Commit Message

Yongqin Liu Nov. 9, 2011, 4:40 p.m. UTC
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 <yongqin.liu@linaro.org>
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
diff mbox

Patch

=== 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)