mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
build: don't stumble over an empty list of packages when trying to verify packages
This commit is contained in:
parent
bf6d73f3c7
commit
b832d0f1c2
@ -129,7 +129,9 @@ def verify_pacs(pac_list):
|
||||
"""
|
||||
|
||||
|
||||
|
||||
if not pac_list:
|
||||
return
|
||||
|
||||
# we can use os.popen4 because we don't care about the return value.
|
||||
# we check the output anyway, and rpm always writes to stdout.
|
||||
(i, o) = os.popen4(['/bin/rpm', '-K'] + pac_list)
|
||||
|
Loading…
Reference in New Issue
Block a user