Skip to content

Commit

Permalink
Use a single loop
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhtt committed Oct 5, 2024
1 parent 240fe03 commit a53d0d8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions flatpak_builder_lint/checks/desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ def check_repo(self, path: str) -> None:

for subdir in dirs_needed:
os.makedirs(os.path.join(tmpdir, subdir), exist_ok=True)

for subdir in dirs_needed:
ostree.extract_subpath(
path, ref, f"files/share/{subdir}", os.path.join(tmpdir, subdir), True
)
Expand Down
2 changes: 0 additions & 2 deletions flatpak_builder_lint/checks/metainfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,6 @@ def check_repo(self, path: str) -> None:

for subdir in dirs_needed:
os.makedirs(os.path.join(tmpdir, subdir), exist_ok=True)

for subdir in dirs_needed:
ostree.extract_subpath(
path, ref, f"files/share/{subdir}", os.path.join(tmpdir, subdir), True
)
Expand Down
2 changes: 0 additions & 2 deletions flatpak_builder_lint/checks/screenshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def check_repo(self, path: str) -> None:

for subdir in dirs_needed:
os.makedirs(os.path.join(tmpdir, subdir), exist_ok=True)

for subdir in dirs_needed:
ostree.extract_subpath(
path, ref, f"files/share/{subdir}", os.path.join(tmpdir, subdir), True
)
Expand Down

0 comments on commit a53d0d8

Please sign in to comment.