Skip to content

Commit

Permalink
remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
tkopecek committed Dec 11, 2024
1 parent 8ef49e3 commit 9e0b82e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mock/py/mockbuild/podman.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ def get_layers_digest(self):
raise BootstrapError(f"The manifest data of {self.image} "
"are not json-formatted.") from exc
if 'Config' not in data:
raise BootstrapError(f"Config section of {self.image} is missing.")
raise BootstrapError(f"Config section of {self.image} is missing.")
if 'RootFS' not in data:
raise BootstrapError(f"RootFS section of {self.image} is missing.")
raise BootstrapError(f"RootFS section of {self.image} is missing.")
if data['RootFS']['Type'] != 'layers':
raise BootstrapError(f"Unexpected format for RootFS in {self.image}.")
raise BootstrapError(f"Unexpected format for RootFS in {self.image}.")

# data which should be sufficient to confirm the image
data = {
Expand Down

0 comments on commit 9e0b82e

Please sign in to comment.