Fix exception syntax to be python2.5 compatible, maintaining support for OS X 10.5 Leopard.

This commit is contained in:
ogle
2013-07-22 16:09:05 +00:00
parent 7c4eeb2d7b
commit 4e3261b95f

View File

@@ -2403,7 +2403,7 @@ def getManifestValueForKey(manifestpath, keyname):
plist = getManifestData(manifestpath)
try:
return plist.get(keyname, None)
except AttributeError as e:
except AttributeError, e:
munkicommon.display_error(
'Failed to get manifest value for key: %s (%s)',
manifestpath, keyname)