def _parse_progress_from_resource_manager(html_bytes):
 for line in html_bytes.splitlines():
  m = _RESOURCE_MANAGER_JS_RE.match(line)
  if m:
   return float(m.group('percent'))
 return None

def _parse_progress_from_resource_manager ( html_bytes ) : for line in html_bytes . splitlines ( ) : m = _RESOURCE_MANAGER_JS_RE . match ( line ) if m : return float ( m . group ( 'percent' ) ) return None
pull progress_precent for running job from job tracker html .