mirror of
https://github.com/munki/munki.git
synced 2026-04-24 05:49:42 -05:00
Log warning when "Products" key is not found in filtered Apple Update catalog
Log warning when "Products" key is not found in filtered Apple Update catalog
This commit is contained in:
@@ -330,6 +330,8 @@ class AppleUpdates(object):
|
||||
of these files."""
|
||||
catalog = FoundationPlist.readPlist(self.filtered_catalog_path)
|
||||
if not 'Products' in catalog:
|
||||
munkicommon.display_warning(
|
||||
'"Products" not found in %s', self.filtered_catalog_path)
|
||||
return
|
||||
|
||||
for product_key in catalog['Products'].keys():
|
||||
|
||||
Reference in New Issue
Block a user