From 99505eb7b6b3316f938ca5c9aaffd8fe3ed50304 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 28 Nov 2022 10:32:21 +0000 Subject: [PATCH] python: Fix code style ("missing whitespace after keyword") (cherry picked from commit fa305b709a3d30eebd42d71ba130b8785fd3cf35) --- python/examples/create_disk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/examples/create_disk.py b/python/examples/create_disk.py index 9fe43bcd8..b08b957aa 100644 --- a/python/examples/create_disk.py +++ b/python/examples/create_disk.py @@ -26,7 +26,7 @@ g.launch() # above, we expect that this list should contain a single # element. devices = g.list_devices() -assert(len(devices) == 1) +assert (len(devices) == 1) # Partition the disk as one single MBR partition. g.part_disk(devices[0], "mbr") @@ -34,7 +34,7 @@ g.part_disk(devices[0], "mbr") # Get the list of partitions. We expect a single element, which # is the partition we have just created. partitions = g.list_partitions() -assert(len(partitions) == 1) +assert (len(partitions) == 1) # Create a filesystem on the partition. g.mkfs("ext4", partitions[0])