cleanup: fix typo in requests lib usage

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-12-08 16:01:31 +01:00
parent 8a13f35339
commit 5491663802
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ def delete_artifact(giteaApi, art):
logging.info('Deleting artifact %s of %s' % (art.name, art.owner))
try:
res=giteaApi._del('packages/%s/container/%s/%s' % (art.owner, art.name, art.version))
except request.exceptions.HTTPError as err:
except requests.exceptions.HTTPError as err:
logging.error('Error %s when trying to delete artifact %s:%s from %s: %s' % (err.response.status_code, art.name, art.version, art.owner, err.response.text))
raise err