qvm-template: update comments to reflect e424c7d

This commit is contained in:
WillyPillow 2021-02-21 02:11:23 +08:00
parent dedf5ac6e6
commit fc520f8ed4
No known key found for this signature in database
GPG Key ID: 3839E194B1415A9C

View File

@ -882,8 +882,7 @@ def install(
unverified_rpm_list = [] # rpmfile, reponame unverified_rpm_list = [] # rpmfile, reponame
verified_rpm_list = [] verified_rpm_list = []
def verify(rpmfile, reponame, package_hdr=None): def verify(rpmfile, reponame, package_hdr=None):
"""Verify package signature and version, remove "unverified" """Verify package signature and version and parse package header.
suffix, and parse package header.
If package_hdr is provided, the signature check is skipped and only If package_hdr is provided, the signature check is skipped and only
other checks are performed.""" other checks are performed."""