[Pkg-privacy-commits] [tails-installer] 05/27: Fix a conversion from dbus.Array to str
Intrigeri
intrigeri at moszumanska.debian.org
Wed May 24 15:26:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.91.0
in repository tails-installer.
commit dcad643f6a5e3847b9d481e25fd3b47cdfc030fc
Author: Martin Briza <mbriza at redhat.com>
Date: Wed Jan 27 14:40:50 2016 +0100
Fix a conversion from dbus.Array to str
---
liveusb/creator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/liveusb/creator.py b/liveusb/creator.py
index 77d6c84..34b5b35 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -294,7 +294,7 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
return
data = Drive()
- data.device = blk['Device']
+ data.device = self.strify(blk['Device'])
data.size = int(blk['Size'])
data.friendlyName = str(drive['Vendor']) + ' ' + str(drive['Model'])
data.isIso9660 = blk['IdType'] == 'iso9660'
--
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