[Pkg-privacy-commits] [tails-installer] 30/210: Retrieve vendor and model information for udisks devices
Intrigeri
intrigeri at moszumanska.debian.org
Wed May 24 15:26:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.
commit 57d0c5fbd5319f30c8eab9bae39179eaa9e9783e
Author: Martin Briza <mbriza at redhat.com>
Date: Thu Feb 26 15:53:51 2015 +0100
Retrieve vendor and model information for udisks devices
---
liveusb/creator.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/liveusb/creator.py b/liveusb/creator.py
index a5f94f6..81eb7db 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -529,6 +529,8 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
list(dev.Get(device, 'PartitionFlags'))),
'parent': None,
'size': int(dev.Get(device, 'DeviceSize')),
+ 'model': str(dev.Get(device, 'DriveModel')),
+ 'vendor': str(dev.Get(device, 'DriveVendor'))
}
# Only pay attention to USB devices, unless --force'd
--
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