Utilities/binplistlib.py

branch
maintenance
changeset 5730
6422afc7adc4
parent 5726
e1dbd217214a
child 6048
82ad8ec9548c
equal deleted inserted replaced
5695:9a71bd9e2e37 5730:6422afc7adc4
290 Public method to read the root object. 290 Public method to read the root object.
291 291
292 @return unpickled object 292 @return unpickled object
293 @exception InvalidPlistException raised to indicate an invalid 293 @exception InvalidPlistException raised to indicate an invalid
294 plist file 294 plist file
295 @exception NotBinaryPlistException raised to indicate, that the
296 plist file is not a binary file
295 """ 297 """
296 result = None 298 result = None
297 self.reset() 299 self.reset()
298 # Get the header, make sure it's a valid file. 300 # Get the header, make sure it's a valid file.
299 if not is_stream_binary_plist(self.file): 301 if not is_stream_binary_plist(self.file):

eric ide

mercurial