summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2011-06-12 16:29:03 -0400
committerLuke Macken <lmacken@redhat.com>2011-06-12 16:29:03 -0400
commitb834b70938746cb6ec4f5453ccc49e9e501104bb (patch)
tree0aed120cd6c235d3c94cf6edfc2c11087c4003b4
parentd685d7af3e9b7824c009c7a116e77aea41aadadf (diff)
Fix a bug that occurs on Linux when extlinux is missing (rhbz#712722)
-rwxr-xr-xliveusb/creator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/liveusb/creator.py b/liveusb/creator.py
index efd08ca..ae47802 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -428,7 +428,8 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
self.log.debug(_('You are using an old version of syslinux-extlinux '
'that does not support the ext4 filesystem'))
- self.valid_fstypes.remove('ext4')
+ if 'ext4' in self.valid_fstypes:
+ self.valid_fstypes.remove('ext4')
def detect_removable_drives(self, callback=None):
""" Detect all removable USB storage devices using UDisks via D-Bus """