[Pkg-privacy-commits] [tails-installer] 02/30: Fixes Bug #10731: add alert message to inform the user by the GUI.

anonym anonym-tails-guest at moszumanska.debian.org
Fri Jun 9 16:22:58 UTC 2017


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

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

commit 5b60bf2549f3b567d4163ce79d822d22cee4eade
Author: Tails developers <amnesia at boum.org>
Date:   Mon May 23 17:35:13 2016 +0200

    Fixes Bug #10731: add alert message to inform the user by the GUI.
---
 tails_installer/gui.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tails_installer/gui.py b/tails_installer/gui.py
index 94b550e..a0a8d6e 100755
--- a/tails_installer/gui.py
+++ b/tails_installer/gui.py
@@ -483,6 +483,17 @@ class TailsInstallerWindow(Gtk.ApplicationWindow):
                     'model':   info['model'],
                     'details': details
                 }
+                # Skip devices with non-removable bit enabled
+                if not info['removable']:
+                    message =_('The device "%(pretty_name)s"'
+                               ' has the non-removable bit enabled. '
+                               ' Tails can not be installed in this device '
+                               ' because it will not be able to boot on '
+                               ' non-removable devices.') % {
+                               'pretty_name':  pretty_name
+                               }
+                    self.status(message)
+                    continue
                 # Skip too small devices, but inform the user
                 if not info['is_device_big_enough']:
                     message =_('The device "%(pretty_name)s"'

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