Edit Fix string concatenation of "No %s in item info" MunkiDownloadError

This commit is contained in:
Justin McWilliams
2015-10-12 12:06:19 -04:00
parent 1f67e19d1b
commit 52009ae9df
+1 -1
View File
@@ -800,7 +800,7 @@ def download_installeritem(item_pl, installinfo, uninstalling=False):
location = item_pl.get(download_item_key)
if not location:
raise fetch.MunkiDownloadError(
"No %s in item info.", download_item_key)
"No %s in item info." % download_item_key)
# allow pkginfo preferences to override system munki preferences
downloadbaseurl = item_pl.get('PackageCompleteURL') or \