def _update_status(self):
label = '<STR_LIT>'<EOL>delta = time.time() - self.start<EOL>if delta > self.timedelta2:<EOL><INDENT>self.label_fmt = '<STR_LIT>'<EOL><DEDENT>elif delta > self.timedelta1:<EOL><INDENT>self.label_fmt = '<STR_LIT>'<EOL><DEDENT>ratio = self.ratio<EOL>if <NUM_LIT:0> <= ratio < <NUM_LIT:1>:<EOL><INDENT>if self.label_mode:<EOL><INDENT>label = self.label_fmt % (ratio * <NUM_LIT:100>)<EOL><DEDENT>if self.oob_error:  <EOL><INDENT>self._first = self.styles[_if](self.icons[_if])<EOL>self._last = self.styles[_il](self.icons[_il])<EOL>self.oob_error = False<EOL>self._comp_style = self.styles[_ic]<EOL>self.done = False<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if ratio == <NUM_LIT:1>:<EOL><INDENT>self.done = True<EOL>self._comp_style = self.styles[_id]<EOL>self._last = self.styles[_if](self.icons[_il])<EOL>if self.label_mode:<EOL><INDENT>label = '<STR_LIT>' if self.unicode_support else '<STR_LIT:+>'<EOL><DEDENT>if self.oob_error:  <EOL><INDENT>self._first = self.styles[_if](self.icons[_if])<EOL>self.oob_error = False<EOL><DEDENT><DEDENT>elif ratio > <NUM_LIT:1>:<EOL><INDENT>self.done = True<EOL>self.oob_error = True<EOL>if self.unicode_support:<EOL><INDENT>self._last = self._err_style('<STR_LIT>')<EOL>if self.label_mode:<EOL><INDENT>label = '<STR_LIT>'<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self._last = self._err_style('<STR_LIT:>>')<EOL>if self.label_mode:<EOL><INDENT>label = '<STR_LIT>'<EOL><DEDENT><DEDENT><DEDENT>else:  <EOL><INDENT>self.oob_error = True<EOL>if self.unicode_support:<EOL><INDENT>self._first = self._err_style('<STR_LIT>')<EOL>if self.label_mode:<EOL><INDENT>label = '<STR_LIT>'<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self._first = self._err_style('<STR_LIT:<>')<EOL>if self.label_mode:<EOL><INDENT>label = '<STR_LIT>'<EOL><DEDENT><DEDENT><DEDENT><DEDENT>self._lbl = label<EOL>
Check bounds for errors and update label accordingly.