Project

General

Profile

Actions

Bug #9629

closed

Check for old code at arvfile.py

Added by Lucas Di Pentima over 9 years ago. Updated about 6 years ago.

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 #1

Updated by Peter Amstutz about 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF