From 16eff98a0653807d5a38a06cc4ccba7983c6ee10 Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Sun, 7 Feb 2021 15:39:38 +0200 Subject: [PATCH] Don't use f-strings yet. --- src/modules/mount/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/mount/main.py b/src/modules/mount/main.py index 69c994efc..07166dd75 100644 --- a/src/modules/mount/main.py +++ b/src/modules/mount/main.py @@ -104,13 +104,13 @@ def mount_partition(root_mount_point, partition, partitions): # Mount the subvolumes for s in btrfs_subvolumes: - mount_option = f"subvol={s['subvolume']}" + mount_option = "subvol={}".format(s['subvolume']) subvolume_mountpoint = mount_point[:-1] + s['mountPoint'] if libcalamares.utils.mount(device, subvolume_mountpoint, fstype, ",".join([mount_option, partition.get("options", "")])) != 0: - libcalamares.utils.warning(f"Cannot mount {device}") + libcalamares.utils.warning("Cannot mount {}".format(device)) def run():