Actions
Bug #9629
closedCheck for old code at arvfile.py
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
-
Story points:
-
Description
Found a method call to calculate_locator() on arvfile.py Python SDK file but there is no method definition found on the codebase.
Check if this call should be deleted and/or corrected in any way.
@synchronized
def manifest_text(self, stream_name=".", portable_locators=False, normalize=False):
buf = ""
filestream = []
for segment in self.segments:
loc = segment.locator
if loc.startswith("bufferblock"):
loc = self._bufferblocks[loc].calculate_locator()
if portable_locators:
loc = KeepLocator(loc).stripped()
filestream.append(LocatorAndRange(loc, locator_block_size(loc),
segment.segment_offset, segment.range_size))
buf += ' '.join(normalize_stream(stream_name, {stream_name: filestream}))
buf += "\n"
return buf
Actions