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): |