--- a/Utilities/binplistlib.py Sat Oct 19 16:51:12 2013 +0200 +++ b/Utilities/binplistlib.py Sat Oct 19 17:42:18 2013 +0200 @@ -723,7 +723,7 @@ 'offsetCount': len(self.computedUniques), 'offsetTableOffset': len(output), 'topLevelObjectNumber': 0 - }) + }) output = self.writeOffsetTable(output) output += pack('!xxxxxxBBQQQ', *self.trailer) @@ -866,7 +866,7 @@ if position is None: self.writtenReferences[obj] = len(self.writtenReferences) output += self.binaryInt(len(self.writtenReferences) - 1, - bytes=self.trailer.objectRefSize) + bytes=self.trailer.objectRefSize) return (True, output) else: output += self.binaryInt(