Show progress while generating test scheduling history data

This commit is contained in:
Marco Castelluccio 2019-09-19 01:32:01 +02:00
Родитель 24d38cbd9b
Коммит f2b8717ecc
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -11,6 +11,7 @@ from logging import INFO, basicConfig, getLogger
import dateutil.parser
import requests
from dateutil.relativedelta import relativedelta
from tqdm import tqdm
from bugbug import db, repository
from bugbug.utils import download_check_etag, zstd_compress
@ -118,7 +119,7 @@ file = {{ driver = "file", path = "{cache_path}" }}
saved_nodes = set()
push_num = 0
for commit_data in repository.get_commits():
for commit_data in tqdm(repository.get_commits()):
node = commit_data["node"]
if node not in push_data: