[Pkg-privacy-commits] [tails-installer] 02/17: Use the Removable UDisks2 property instead of the MediaRemovable one (refs: #12696).

Ulrike Uhlig ulrike at moszumanska.debian.org
Tue Jul 4 17:00:32 UTC 2017


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

ulrike pushed a commit to branch debian/sid
in repository tails-installer.

commit 04cd397420f49ec34518659c686ebc1af8b87525
Author: intrigeri <intrigeri at boum.org>
Date:   Fri Jun 23 10:20:34 2017 +0000

    Use the Removable UDisks2 property instead of the MediaRemovable one (refs: #12696).
    
    Since we started filtering based on MediaRemovable (#10731), we have been
    rejecting tons of perfectly valid devices. This seems much worse than the
    problems #10731 was about, so we're essentially reverting to what we did before
    the branch for #10731 was merged, except we do filter on the Removable UDisks2
    property (which we didn't do before): it should not harm and allows us to keep
    the corresponding bits of code and phrasing, that should ease future work on
---
 tails_installer/creator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tails_installer/creator.py b/tails_installer/creator.py
index 95a4102..164bb48 100755
--- a/tails_installer/creator.py
+++ b/tails_installer/creator.py
@@ -608,7 +608,7 @@ class LinuxTailsInstallerCreator(TailsInstallerCreator):
                 'size': drive.props.size,
                 'mounted_partitions': set(),
                 'is_device_big_enough': True,
-                'removable': drive.props.media_removable,
+                'removable': drive.props.removable,
             }
 
             # Check non-removable drives

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