Skip to content

Commit

Permalink
Merge pull request #104 from BrianPugh/single-line-update
Browse files Browse the repository at this point in the history
Have belay update print each dependency on a single line
  • Loading branch information
BrianPugh authored Feb 11, 2023
2 parents a2bfa80 + 667312a commit 4fdf413
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 4fdf413

Please sign in to comment.