Skip to content

Commit 682f029

Browse files
committed
quick format fixes for previous commit
1 parent e61302c commit 682f029

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ugrd/fs/resume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def handle_early_resume(self) -> str:
6565
@contains("late_resume")
6666
def handle_late_resume(self) -> None:
6767
self.logger.warning(
68-
"[late_resume] enabled, this can result in data loss if filesystems are modified before resuming. Read the docs for more info."
68+
"[late_resume] enabled, this can result in data loss if filesystems are modified before resuming. Read the docs for more info."
6969
)
7070

7171
# At the moment it's the same code but delayed, will change when more features are added

src/ugrd/fs/test_image.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ def _allocate_image(self, image_path, padding=0):
6767

6868
with open(image_path, "wb") as f:
6969
total_size = (self.test_image_size + padding) * (2**20) # Convert MB to bytes
70-
self.logger.info(f"Allocating {self.test_image_size + padding}MB test image file: { c_(f.name, 'green')}")
71-
self.logger.debug(f"[{f.name}] Total bytes: { c_(total_size, 'green')}")
70+
self.logger.info(f"Allocating {self.test_image_size + padding}MB test image file: {c_(f.name, 'green')}")
71+
self.logger.debug(f"[{f.name}] Total bytes: {c_(total_size, 'green')}")
7272
f.write(b"\0" * total_size)
7373

7474

7575
def _copy_fs_contents(self, image_path, build_dir):
76-
""" Mount and copy the filesystem contents into the image,
76+
"""Mount and copy the filesystem contents into the image,
7777
for filesystems which cannot be created directly from a directory"""
7878
try:
7979
with TemporaryDirectory() as tmp_dir:

0 commit comments

Comments
 (0)