From 4e3261b95fa2900a89ef59f127ecd2b709ab9cc0 Mon Sep 17 00:00:00 2001 From: ogle Date: Mon, 22 Jul 2013 16:09:05 +0000 Subject: [PATCH] Fix exception syntax to be python2.5 compatible, maintaining support for OS X 10.5 Leopard. --- code/client/munkilib/updatecheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/munkilib/updatecheck.py b/code/client/munkilib/updatecheck.py index e5c13d5b..9f6d365b 100755 --- a/code/client/munkilib/updatecheck.py +++ b/code/client/munkilib/updatecheck.py @@ -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)