mirror of
https://github.com/grahampugh/macadmin-scripts.git
synced 2025-12-17 17:56:33 +00:00
In os_installer_product_info better handle the failure to find a server metadata file for a macos product
This commit is contained in:
parent
d573b42232
commit
7d1df62482
@ -399,6 +399,7 @@ def os_installer_product_info(catalog, workdir, ignore_cache=False):
|
||||
for product_key in installer_products:
|
||||
product_info[product_key] = {}
|
||||
filename = get_server_metadata(catalog, product_key, workdir)
|
||||
if filename:
|
||||
product_info[product_key] = parse_server_metadata(filename)
|
||||
product = catalog['Products'][product_key]
|
||||
product_info[product_key]['PostDate'] = product['PostDate']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user