- Replace map+filter and list+filter with list comprehension expression
- Use try/except for next(Iterator)
- Add test case for altlink that cause exception on next() in get_altlink
- Avoid exit but use sys.exit
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Fix#342. This problem was related to refactoring the List subcommand,
which changed the ArchiveId.category to receive "qt" or "tools",
instead of "qt5", "qt6", or "tools"
This is set to run once per month, and on every push.
Before merging this PR, "push" should be removed from the list of
events that trigger the script, which should not be run so frequently.
The "push" event is turned on for testing only.