allow getRPMHeaders to get all headers if none are explicitly requested
This commit is contained in:
parent
ace354a15c
commit
22fcdc1ad2
2 changed files with 7 additions and 3 deletions
|
|
@ -11670,8 +11670,7 @@ class RootExports(object):
|
|||
is not valid or the rpm does not exist on the file system, an empty map
|
||||
will be returned.
|
||||
"""
|
||||
if not headers:
|
||||
headers = []
|
||||
|
||||
if rpmID:
|
||||
rpm_info = get_rpm(rpmID)
|
||||
if not rpm_info or not rpm_info['build_id']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue