

def _handleProgress(self, offset, line):
    'Process a progress directive.'
    line = line[offset:].strip()
    if (line[0] in whence._plusminus):
        whence = PROGRESS_CUR
        delta = int(line)
    elif (line == self._push_sym):
        whence = PROGRESS_PUSH
        delta = None
    elif (line == self._pop_sym):
        whence = PROGRESS_POP
        delta = None
    else:
        whence = PROGRESS_SET
        delta = int(line)
    self.client.progress(delta, whence)

dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/__init__.py TestProtocolServer._handleProgress/VarMisuse@35/46 `self`->`whence`