mirror of
https://github.com/munki/munki.git
synced 2026-04-29 08:49:48 -05:00
Fix so a manifest that is missing a catalog list does not cause a TypeError exception in updatecheck.getAutoRemovalItems()
git-svn-id: http://munki.googlecode.com/svn/trunk@1011 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -1191,7 +1191,7 @@ def getAutoRemovalItems(installinfo, cataloglist):
|
||||
that have already been processed.
|
||||
"""
|
||||
autoremovalnames = []
|
||||
for catalogname in cataloglist:
|
||||
for catalogname in (cataloglist or []):
|
||||
if catalogname in CATALOG.keys():
|
||||
autoremovalnames += CATALOG[catalogname]['autoremoveitems']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user