Be less verbose
This commit is contained in:
parent
1cd21b0d2b
commit
eb6d918aee
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ def check_status(project, username):
|
||||||
url = "{0}/{1}/_result".format(API_URL, project)
|
url = "{0}/{1}/_result".format(API_URL, project)
|
||||||
result = requests.get(url, auth=(username, password))
|
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:
|
if not result:
|
||||||
return
|
return
|
||||||
|
@ -58,7 +58,7 @@ def check_status(project, username):
|
||||||
'//result[@arch="x86_64"]/status[@code="broken"]/@package'))
|
'//result[@arch="x86_64"]/status[@code="broken"]/@package'))
|
||||||
|
|
||||||
if not broken_packages:
|
if not broken_packages:
|
||||||
logging.info("No broken packages found in %s", project)
|
logging.debug("No broken packages found in %s", project)
|
||||||
return
|
return
|
||||||
|
|
||||||
logging.info("Found %s broken packages", len(broken_packages))
|
logging.info("Found %s broken packages", len(broken_packages))
|
||||||
|
|
Loading…
Add table
Reference in a new issue