mirror of
https://github.com/munki/munki.git
synced 2026-04-20 03:30:42 -05:00
Fix for missing 'optional_installs'. Fixes issue 302.
This commit is contained in:
@@ -155,7 +155,7 @@ def getEffectiveUpdateList():
|
||||
'''Combine the updates Munki has found with any optional choices to
|
||||
make the effective list of updates'''
|
||||
managed_update_names = getInstallInfo().get('managed_updates', [])
|
||||
optional_item_names = [item['name'] for item in getInstallInfo().get('optional_installs')]
|
||||
optional_item_names = [item['name'] for item in getInstallInfo().get('optional_installs', [])]
|
||||
self_service_installs = SelfService().installs()
|
||||
self_service_uninstalls = SelfService().uninstalls()
|
||||
# items in the update_list that are part of optional_items
|
||||
|
||||
Reference in New Issue
Block a user