Permalink
Browse files

Attempt #2 to catch KeyError exception when attempting to import NetF…

…S's NetFSMountURLSync function.
  • Loading branch information...
gregneagle committed Oct 17, 2016
1 parent 8fa668e commit 834796e967bfa3758771ad03029070c22559f2ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/client/munkiimport
@@ -75,7 +75,7 @@ try:
objc.loadBundleFunctions(
NetFS_bundle, NetFS, [('NetFSMountURLSync', 'i@@@@@@o^@')])
NETFSMOUNTURLSYNC_AVAILABLE = True
except ImportError, KeyError:
except (ImportError, KeyError):
NETFSMOUNTURLSYNC_AVAILABLE = False


0 comments on commit 834796e

Please sign in to comment.