1
0
Fork 0

Be less verbose

This commit is contained in:
Luca Beltrame 2021-04-30 23:06:06 +02:00
parent 1cd21b0d2b
commit eb6d918aee

View file

@ -48,7 +48,7 @@ def check_status(project, username):
url = "{0}/{1}/_result".format(API_URL, project)
result = requests.get(url, auth=(username, password))
logging.info("Checking broken packages in %s", project)
logging.debug("Checking broken packages in %s", project)
if not result:
return
@ -58,7 +58,7 @@ def check_status(project, username):
'//result[@arch="x86_64"]/status[@code="broken"]/@package'))
if not broken_packages:
logging.info("No broken packages found in %s", project)
logging.debug("No broken packages found in %s", project)
return
logging.info("Found %s broken packages", len(broken_packages))