Fix flake8 and unit test

This commit is contained in:
Tomas Kopecek 2025-04-29 16:27:29 +02:00
parent 15d604f32e
commit 26198f6114
2 changed files with 5 additions and 2 deletions

View file

@ -6999,8 +6999,9 @@ def anon_handle_download_build(options, session, args):
for rpm in rpms:
number += 1
try:
download_rpm(info, rpm, suboptions.topurl, sigkey=suboptions.key, quiet=suboptions.quiet,
noprogress=suboptions.noprogress, num=number, size=size)
download_rpm(info, rpm, suboptions.topurl, sigkey=suboptions.key,
quiet=suboptions.quiet, noprogress=suboptions.noprogress, num=number,
size=size)
except HTTPError as err:
# this is necessary even with the 'unsigned' handling above
# because sometimes queryRPMSigs will still tell us a

View file

@ -297,6 +297,8 @@ Options:
--task-id Interperet id as a task id
--rpm Download the given rpm
--key=KEY Download rpms signed with the given key
--fallback-unsigned When used with --key: download unsigned if signed
packages not found
--topurl=URL URL under which Koji files are accessible
--noprogress Do not display progress meter
-q, --quiet Suppress output