Skip to content

Commit a559a71

Browse files
author
William Jakobsson
committed
fix
1 parent 32a2b88 commit a559a71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/get_checkers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ def printCertCInfo(content_subdir:str):
947947
"""Fetches CERT C rules information."""
948948
paths = listCertFiles(content_subdir)
949949
rules = {}
950-
for path in tqdm(paths, desc=f'Fetching {content_subdir}', file=sys.stderr):
950+
for path in tqdm(paths, total=len(paths), desc=f'Fetching {content_subdir}', file=sys.stderr):
951951
raw = 'https://raw.githubusercontent.com/%s/%s/%s' % (CERT_REPO, CERT_BRANCH, path)
952952
text = requests.get(raw, timeout=30).text
953953
res = re.search(r'^#\s+([A-Z]{3}\d{2}-C(?:PP)?)\b', text, re.MULTILINE)

0 commit comments

Comments
 (0)