Skip to content

Commit

Permalink
Have belay update print each dependency on a single line
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed Feb 11, 2023
1 parent 3ec4fbf commit 667312a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions belay/packagemanager/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,16 @@ def download(

def log(*args, **kwargs):
if console:
console.log(*args, **kwargs)
console.print(*args, **kwargs)

with cm:
for package_name in packages:
log(f"{package_name}: Updating...")
log(f"{package_name}: Updating...", end=" ")
changed = self._download_package(package_name)
if changed:
log(f"[bold green]{package_name}: Updated.")
log(f"[bold green]{package_name}: Updated.")
else:
log(f"{package_name}: No changes detected.")
log(f"{package_name}: No changes detected.")


def _verify_files(path: PathType):
Expand Down

0 comments on commit 667312a

Please sign in to comment.