From bced04b57dae3b669d94a1f59e740898dbe02ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Tue, 17 Dec 2024 09:58:22 +0100 Subject: [PATCH] tools/osbuild-image-info: fix issues reported by autopep8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomáš Hozza --- tools/osbuild-image-info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/osbuild-image-info b/tools/osbuild-image-info index fa51d1b5..c082017b 100755 --- a/tools/osbuild-image-info +++ b/tools/osbuild-image-info @@ -299,7 +299,7 @@ def read_partition_table(device): # 'sfdisk' prefixes the partition id with '0x' but # 'blkid' does not; remove it to mimic 'blkid' table_id = ptable['id'][2:] - partuuid = "%.33s-%02x" % (table_id, i+1) + partuuid = "%.33s-%02x" % (table_id, i + 1) partitions.append({ "bootable": p.get("bootable", False), @@ -2458,7 +2458,7 @@ def volume_group_for_device(device: str) -> str: if res.returncode == 5: if count == 10: raise RuntimeError("Could not find parent device") - time.sleep(1*count) + time.sleep(1 * count) count += 1 continue