[Pkg-privacy-commits] [tails-installer] 31/35: Fix a bug in the release downloader (fixes #5)

anonym anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:14:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

anonym-tails-guest pushed a commit to annotated tag 3.12.0
in repository tails-installer.

commit 4de8d34cdc6f5f2bd2544aa391db23cc7924e6f8
Author: Luke Macken <lmacken at redhat.com>
Date:   Mon Jul 29 15:56:13 2013 -0400

    Fix a bug in the release downloader (fixes #5)
    
    The release refresher button did not properly update the
    liveusb.releases.releases global.
---
 liveusb/gui.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/liveusb/gui.py b/liveusb/gui.py
index 659516e..920d392 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -338,9 +338,10 @@ class LiveUSBDialog(QtGui.QDialog, LiveUSBInterface):
 
     def refresh_releases(self):
         self.live.log.info(_('Refreshing releases...'))
-        fedora_releases = get_fedora_releases()
+        global releases
+        releases = get_fedora_releases()
         self.downloadCombo.clear()
-        for release in [release['name'] for release in fedora_releases]:
+        for release in [release['name'] for release in releases]:
             self.downloadCombo.addItem(release)
         self.live.log.info(_('Releases updated!'))
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list