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:
Greg Neagle
2011-01-25 22:49:26 +00:00
parent a853f78c9f
commit 4fc6720ea5
+1 -1
View File
@@ -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']