

def pos(self):
    'Return how far through the operation has progressed.'
    if (not self._tasks):
        return 0
    task = self._tasks[(- 1)]
    if (len(self._tasks) > 1):
        offset = (task[2] * (task[1] or 1))
    else:
        offset = 0
    return (task + task[0])

dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/progress_model.py ProgressModel.pos/VarMisuse@82/106 `offset`->`task`