[Pkg-privacy-commits] [tails-installer] 15/34: Drop duplicated code.
anonym
anonym-tails-guest at moszumanska.debian.org
Mon Jan 22 14:05:32 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 73a90989b38e8a90867966862daa1648d8062916
Author: intrigeri <intrigeri at boum.org>
Date: Sat Jan 20 13:41:20 2018 +0000
Drop duplicated code.
This is now done in on_radio_button_source_iso_toggled that we trigger
by initializing the status of the radio buttons.
---
tails_installer/gui.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tails_installer/gui.py b/tails_installer/gui.py
index b9623f7..9fe44c8 100755
--- a/tails_installer/gui.py
+++ b/tails_installer/gui.py
@@ -326,11 +326,7 @@ class TailsInstallerWindow(Gtk.ApplicationWindow):
self.__filechooserbutton_source_file.set_sensitive(True)
self.__box_source_dl.set_visible(False)
- if self.opts.clone:
- self.live.source = RunningLiveSystemSource(
- path=config['running_liveos_mountpoint'])
- self.source_available = True
- else:
+ if not self.opts.clone:
self.populate_releases()
self.update_start_button()
self.populate_devices()
--
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