'Display a message reporting the final status of the transfer.'

def ReportStatus(self):

    (total_down, duration) = self.throttle.TotalTransferred(remote_api_throttle.BANDWIDTH_DOWN)
    (s_total_down, unused_duration) = self.throttle.TotalTransferred(remote_api_throttle.HTTPS_BANDWIDTH_DOWN)
    total_down += s_total_down
    total = total_down
    existing_count = self.progress_thread.existing_count
    xfer_count = self.progress_thread.EntitiesTransferred()
    logger.info('Have    %d    entities,    %d    previously    transferred', xfer_count, existing_count)
    logger.info('%d    entities    (%d    bytes)    transferred    in    %.1f    seconds', xfer_count, total, duration)
    if self.error:
        return 1
    else:
        return 0
