[Pkg-privacy-commits] [tails-installer] 03/34: Don't pretend we have a source available before we've initialized self.live.source.

anonym anonym-tails-guest at moszumanska.debian.org
Mon Jan 22 14:05:31 UTC 2018


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

anonym-tails-guest pushed a commit to branch tails/master
in repository tails-installer.

commit 780a69b52f7389022112b9e349adb99a2e5909d4
Author: intrigeri <intrigeri at boum.org>
Date:   Sat Jan 20 07:29:34 2018 +0000

    Don't pretend we have a source available before we've initialized self.live.source.
---
 tails_installer/gui.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tails_installer/gui.py b/tails_installer/gui.py
index 99ff8e1..2919ba9 100755
--- a/tails_installer/gui.py
+++ b/tails_installer/gui.py
@@ -324,16 +324,15 @@ class TailsInstallerWindow(Gtk.ApplicationWindow):
             self.__radio_button_source_device.set_visible(False)
             self.__filechooserbutton_source_file.set_sensitive(True)
 
-        if self.opts.clone:
-            self.source_available = True
         self.__box_source_dl.set_visible(False)
-        self.update_start_button()
         self.live = TailsInstallerCreator(opts=opts)
         if self.opts.clone:
             self.live.source = RunningLiveSystemSource(
                 path=config['running_liveos_mountpoint'])
+            self.source_available = True
         else:
             self.populate_releases()
+        self.update_start_button()
         self.populate_devices()
         self.downloader = None
         self.progress_thread = ProgressThread(parent=self)

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