Commit 40dd34c7 authored by Gaël PORTAY's avatar Gaël PORTAY

[rawfs] Fix crash if bogus is unset

- fixes:
	12:44:25 [6]: Python Error:
	 <class 'TypeError'>
	 'builtin_function_or_method' object is not subscriptable
	 File "/usr/lib/calamares/modules/rawfs/", line 188, in run
	    item.copy(filesystems.index(item), len(filesystems))

	  File "/usr/lib/calamares/modules/rawfs/", line 99, in copy
	    if libcalamares.job.configuration["bogus"]:
parent 8465dcbc
......@@ -96,7 +96,7 @@ class RawFSItem:
count = 0
libcalamares.utils.debug("Copying {} to {}".format(self.source, self.destination))
if libcalamares.job.configuration["bogus"]:
if libcalamares.job.configuration.get("bogus", False):
srcsize, srcblksize = get_device_size(self.source)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment