Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cloudinit/config/cc_disk_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,9 @@ def mkfs(fs_cfg):
device = f"{device}p"
device = "%s%s" % (device, partition)
if not Path(device).is_block_device():
LOG.warning("Path %s does not exist or is not a block device")
LOG.warning(
"Path %s does not exist or is not a block device", device
)
return
LOG.debug(
"Manual request of partition %s for %s", partition, device
Expand Down
2 changes: 1 addition & 1 deletion cloudinit/distros/raspberry_pi_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def apply_locale(self, locale, out_fn=None, keyname="LANG"):
]
)
else:
LOG.error("Failed to set locale %s")
LOG.error("Failed to set locale %s", locale)

def add_user(self, name, **kwargs) -> bool:
"""
Expand Down