diff mbox

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

Commit Message

loic.minier@linaro.org May 5, 2011, 5:50 p.m. UTC
------------------------------------------------------------
revno: 336
fixes bug(s): https://launchpad.net/bugs/777938
committer: Loïc Minier <loic.minier@linaro.org>
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
diff mbox

Patch

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