def report_retry_fragment(self, err, frag_index, count, retries):
    self.to_screen(('\r[download] Got server HTTP error: %s. Retrying fragment %d (attempt %d of %s) ...' % (error_to_compat_str(err), frag_index, count, self.format_retries(retries))))
    self.sleep_retry('fragment', count)
def report_retry_fragment(self, err, frag_index, count, retries):
    self.to_screen(('\r[download] Got server HTTP error: %s. Retrying fragment %d (attempt %d of %s) ...' % (error_to_compat_str(err), frag_index, count, self.format_retries(retries))))
    self.sleep_retry('fragment', count)