mirror of
https://github.com/munki/munki.git
synced 2026-04-23 04:59:17 -05:00
New FoundationPlistException base class; NSPropertyListSerializationException and NSPropertyListWriteException now inherit from FoundationPlistException
git-svn-id: http://munki.googlecode.com/svn/trunk@659 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -45,11 +45,14 @@ from Foundation import NSData, \
|
||||
NSPropertyListSerialization, \
|
||||
NSPropertyListMutableContainers, \
|
||||
NSPropertyListXMLFormat_v1_0
|
||||
|
||||
class FoundationPlistException(Exception):
|
||||
pass
|
||||
|
||||
class NSPropertyListSerializationException(Exception):
|
||||
class NSPropertyListSerializationException(FoundationPlistException):
|
||||
pass
|
||||
|
||||
class NSPropertyListWriteException(Exception):
|
||||
class NSPropertyListWriteException(FoundationPlistException):
|
||||
pass
|
||||
|
||||
def readPlist(filepath):
|
||||
|
||||
Reference in New Issue
Block a user