mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
made better postfix
This commit is contained in:
@ -149,7 +149,7 @@ def process_pull(repo: Repository, pr: PullRequest, dataset: Dataset, repos_dir:
|
|||||||
with build_handler, tqdm(total=len(steps), desc="Processing PR", leave=False) as pbar:
|
with build_handler, tqdm(total=len(steps), desc="Processing PR", leave=False) as pbar:
|
||||||
try:
|
try:
|
||||||
for message, action in steps:
|
for message, action in steps:
|
||||||
pbar.set_postfix_str(message)
|
pbar.set_postfix({"doing": message, "started at": datetime.now().strftime("%d/%m, %H:%M:%S")})
|
||||||
action()
|
action()
|
||||||
pbar.update(1)
|
pbar.update(1)
|
||||||
except tuple(error_map) as e:
|
except tuple(error_map) as e:
|
||||||
|
Reference in New Issue
Block a user