[Pkg-privacy-commits] [tails-installer] 13/35: Handle devices without any free space
anonym
anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:14:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
anonym-tails-guest pushed a commit to annotated tag 3.12.0
in repository tails-installer.
commit 8bb706d25fe439a8bdaacae9df7354d4fc4f36d6
Author: Luke Macken <lmacken at redhat.com>
Date: Fri Mar 1 13:12:55 2013 -0500
Handle devices without any free space
---
liveusb/gui.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/liveusb/gui.py b/liveusb/gui.py
index 946f339..537f141 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -400,7 +400,7 @@ class LiveUSBDialog(QtGui.QDialog, LiveUSBInterface):
return
device = self.live.drives[drive]
- freespace = device['free']
+ freespace = device['free'] or 0
current_overlay = self.overlaySlider.value()
if device['fsversion'] == 'FAT32':
--
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