Open
Description
1.in FileNode.py:line581
class ObjectSpaceObjectStreamOfIDs:
def init(self, file, document):
self.header = ObjectSpaceObjectStreamHeader(file)
self.body = []
self.head = 0
for i in range(self.header.Count):
self.body.append(CompactID(file, document))
def read(self):
res = None
if self.head < len(self.body):
res = self.body[self.head]
self.head += 1#Miss this line
return res
def reset(self):
self.head = 0
2.in FileNode.py:line695
elif 'languageid' in property_name_lower:
lcid, =struct.unpack('<I', self.rgData[i])
propertyVal = '{}({})'.format(PropertySet.lcid_to_string(lcid), lcid)
else:
if isinstance(self.rgData[i], list):
#propertyVal = [str(i) for i in self.rgData[i]]
propertyVal = [str(j) for j in self.rgData[i]] #i -> j
else:
propertyVal = str(self.rgData[i])
self._formated_properties[propertyName] = propertyVal
return self._formated_properties
Metadata
Assignees
Labels
No labels
Activity