2 commits - liveusb/gui.py

Luke Macken lmacken at fedoraproject.org
Thu Oct 9 01:55:10 UTC 2008


 liveusb/gui.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 87d2cba6a7257898bf4c4bc5ea68e04eaca03ba0
Merge: 5f1579c... c8e66e3...
Author: Luke Macken <lmacken at redhat.com>
Date:   Wed Oct 8 21:54:49 2008 -0400

    Merge branch 'master' of ssh://git.fedorahosted.org/git/liveusb-creator



commit 5f1579c1d68c709e81022dcf30658e15fdce169a
Author: Luke Macken <lmacken at redhat.com>
Date:   Wed Oct 8 21:54:34 2008 -0400

    Ensure the release sha1 exists before attempting to verify it.

diff --git a/liveusb/gui.py b/liveusb/gui.py
index 968c295..114f1ba 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -159,7 +159,8 @@ class LiveUSBThread(QtCore.QThread):
 
             # If the ISO looks familar, verify it's SHA1SUM
             if not self.parent.opts.noverify:
-                if self.live.get_release_from_iso():
+                release = self.live.get_release_from_iso()
+                if release and release['sha1']:
                     self.status(_("Verifying SHA1 of LiveCD image..."))
                     if not self.live.verify_image(progress=self):
                         self.status(_("Error: The SHA1 of your Live CD is "




More information about the liveusb-creator mailing list