[Pkg-privacy-commits] [tails-installer] 22/30: Fix uninitialized drive on plugin

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:27:10 UTC 2017


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

intrigeri pushed a commit to tag 3.92.0
in repository tails-installer.

commit ca972b742f9e737f871efb58241c878a14f38033
Author: Martin Bříza <m at rtinbriza.cz>
Date:   Tue Apr 5 17:10:40 2016 +0200

    Fix uninitialized drive on plugin
---
 liveusb/gui.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/liveusb/gui.py b/liveusb/gui.py
index 5d9caf0..46f9eb8 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -734,6 +734,9 @@ class LiveUSBData(QObject):
                     self.currentDrive = i
                 if drive.drive.isIso9660:
                     self._driveToRestore = drive
+                if self.currentDrive == -1 and not self.live.drive:
+                    self.live.drive = drive
+
             self.currentDriveChanged.emit()
             self.driveToRestoreChanged.emit()
 

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