1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00

build: don't stumble over an empty list of packages when trying to verify packages

This commit is contained in:
Dr. Peter Poeml 2007-06-26 11:19:41 +00:00
parent bf6d73f3c7
commit b832d0f1c2

View File

@ -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)