swh-lister/swh/lister/opam
Antoine Lambert d20803ddae opam: Ensure CalledProcessError is raised when an opam command failed
Use subprocess.run instead of subprocess.call and subprocess.Popen to
call opam commands and set check parameter to True in order to raise
CalledProcessError exception when an opam command failed.

This should help spotting issues with the opam lister.

Related to swh/infra/sysadm-environment#4971.
2023-06-29 14:02:00 +00:00
..
tests opam: Ensure CalledProcessError is raised when an opam command failed 2023-06-29 14:02:00 +00:00
__init__.py add opam lister 2021-07-06 15:19:00 +02:00
lister.py opam: Ensure CalledProcessError is raised when an opam command failed 2023-06-29 14:02:00 +00:00
tasks.py add opam lister 2021-07-06 15:19:00 +02:00