mirror of
https://github.com/munki/munki.git
synced 2026-01-12 01:40:23 -06:00
Fix exception syntax to be python2.5 compatible, maintaining support for OS X 10.5 Leopard.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user