Closed GoogleCodeExporter closed 8 years ago
I worked around this by falling back to an empty list for
getInstallInfo().get():
diff --git a/code/Managed Software Center/Managed Software Center/MunkiItems.py
b/code/Managed Software Center/Managed Software Center/MunkiItems.py
index 629c20e..99bb0e1 100644
--- a/code/Managed Software Center/Managed Software Center/MunkiItems.py
+++ b/code/Managed Software Center/Managed Software Center/MunkiItems.py
@@ -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
Original comment by t...@synthist.net
on 26 Mar 2014 at 7:57
This issue was closed by revision bc573124d2c6.
Original comment by gregnea...@mac.com
on 26 Mar 2014 at 8:34
Original issue reported on code.google.com by
t...@synthist.net
on 26 Mar 2014 at 7:54