mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
python: Fix code style ("missing whitespace after keyword")
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user