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:
Greg Neagle
2010-08-04 23:08:25 +00:00
parent c3188102e7
commit 3b32e199de
+5 -2
View File
@@ -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):