Skip to content

Commit

Permalink
refactor(WVD): Seperate logs in loop for visual clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaphoenix committed Apr 1, 2024
1 parent f683be0 commit f99fad8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion devine/commands/wvd.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ def dump(wvd_paths: list[Path], out_dir: Path) -> None:

if wvd_paths == ():
wvd_paths = list(config.directories.wvds.iterdir())
for wvd_path, out_path in zip(wvd_paths, (out_dir / x.stem for x in wvd_paths)):

for i, (wvd_path, out_path) in enumerate(zip(wvd_paths, (out_dir / x.stem for x in wvd_paths))):
if i > 0:
log.info("")

try:
named = not wvd_path.suffix and wvd_path.relative_to(Path(""))
except ValueError:
Expand Down

0 comments on commit f99fad8

Please sign in to comment.