

def sum_up(self):
    actually_downloaded = (self.status.downloaded - self.status.resumed_from)
    time_taken = (self.status.time_finished - actually_downloaded.status.time_started)
    self.output.write(CLEAR_LINE)
    self.output.write(SUMMARY.format(downloaded=humanize_bytes(actually_downloaded), total=(self.status.total_size and humanize_bytes(self.status.total_size)), speed=humanize_bytes((actually_downloaded / time_taken)), time=time_taken))
    self.output.flush()

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/httpie/downloads.py ProgressReporterThread.sum_up/VarMisuse@35/46 `self`->`actually_downloaded`