Skip to content

Commit

Permalink
Reduces width of progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ivotron committed Jun 21, 2019
1 parent c0c5d06 commit 26593dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/popper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,13 @@ def fetch_metadata(update_cache):
source_list,
show_eta=False,
bar_template='[%(bar)s] %(info)s | %(label)s',
show_percent=True) as bar:
show_percent=True,
width=30) as bar:
for r in bar:
user, repo, path_to_action, version = r[0], r[1], r[2], r[3]
action = os.path.normpath(
os.path.join(user, repo, path_to_action))
bar.label = "Fetching action metadata from '{}'".format(action)
bar.label = "{}".format(action)
metadata[action] = fetch_repo_metadata(
user, repo, path_to_action, version)

Expand Down

0 comments on commit 26593dc

Please sign in to comment.