mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 18:35:37 -04:00
Remove flake8 errors
Remove the flake8 errors. This commit does not change any behaviour.
This commit is contained in:
parent
2bac96425f
commit
8a545941d4
1 changed files with 11 additions and 8 deletions
|
@ -162,7 +162,6 @@ class FstabGenerator(object):
|
|||
return None
|
||||
|
||||
mapper_name = partition["luksMapperName"]
|
||||
mount_point = partition["mountPoint"]
|
||||
luks_uuid = partition["luksUuid"]
|
||||
if not mapper_name or not luks_uuid:
|
||||
return None
|
||||
|
@ -308,13 +307,17 @@ def run():
|
|||
root_mount_point = global_storage.value("rootMountPoint")
|
||||
|
||||
if not partitions:
|
||||
libcalamares.utils.warning("partitions is empty, {!s}".format(partitions))
|
||||
libcalamares.utils.warning("partitions is empty, {!s}"
|
||||
.format(partitions))
|
||||
return (_("Configuration Error"),
|
||||
_("No partitions are defined for <pre>{!s}</pre> to use." ).format("fstab"))
|
||||
_("No partitions are defined for <pre>{!s}</pre> to use.")
|
||||
.format("fstab"))
|
||||
if not root_mount_point:
|
||||
libcalamares.utils.warning("rootMountPoint is empty, {!s}".format(root_mount_point))
|
||||
libcalamares.utils.warning("rootMountPoint is empty, {!s}"
|
||||
.format(root_mount_point))
|
||||
return (_("Configuration Error"),
|
||||
_("No root mount point is given for <pre>{!s}</pre> to use." ).format("fstab"))
|
||||
_("No root mount point is given for <pre>{!s}</pre> to use.")
|
||||
.format("fstab"))
|
||||
|
||||
mount_options = conf["mountOptions"]
|
||||
ssd_extra_mount_options = conf.get("ssdExtraMountOptions", {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue