Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 26593dc

Browse files
committed
Reduces width of progress bar
1 parent c0c5d06 commit 26593dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cli/popper/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,13 @@ def fetch_metadata(update_cache):
212212
source_list,
213213
show_eta=False,
214214
bar_template='[%(bar)s] %(info)s | %(label)s',
215-
show_percent=True) as bar:
215+
show_percent=True,
216+
width=30) as bar:
216217
for r in bar:
217218
user, repo, path_to_action, version = r[0], r[1], r[2], r[3]
218219
action = os.path.normpath(
219220
os.path.join(user, repo, path_to_action))
220-
bar.label = "Fetching action metadata from '{}'".format(action)
221+
bar.label = "{}".format(action)
221222
metadata[action] = fetch_repo_metadata(
222223
user, repo, path_to_action, version)
223224

0 commit comments

Comments
 (0)