Fix string concatenation of MunkiDownloadError("Insufficient disk space to download and install %s")

This commit is contained in:
Justin McWilliams
2015-10-09 17:09:23 -04:00
parent 087bed6b72
commit 2e34939a9a

View File

@@ -833,7 +833,7 @@ def download_installeritem(item_pl, installinfo, uninstalling=False):
if not enoughDiskSpace(item_pl, installinfo['managed_installs'],
uninstalling=uninstalling):
raise fetch.MunkiDownloadError(
'Insufficient disk space to download and install %s', pkgname)
'Insufficient disk space to download and install %s' % pkgname)
else:
munkicommon.display_detail(
'Downloading %s from %s', pkgname, location)