tools/bisect_repackage/bisect_repackage_utils.py
def IsGitCommitHash(regex_match):
  """Checks if match is correct SHA1 hash."""
  matched_re = re.match(r'^[0-9,A-F]{40}$', regex_match.upper())
  if matched_re: return True
  return False
Checks if match is correct SHA1 hash.
Checks if match is correct SHA1 hash.
Checks if match is correct SHA1 hash .
def IsGitCommitHash(regex_match):
  matched_re = re.match(r'^[0-9,A-F]{40}$', regex_match.upper())
  if matched_re: return True
  return False
def IsGitCommitHash ( regex_match ) : matched_re = re . match ( r'^[0-9,A-F]{40}$' , regex_match . upper ( ) ) if matched_re : return True return False
Checks if match is correct SHA1 hash.
Checks if match is correct SHA1 hash .
"""Checks if match is correct SHA1 hash."""
regex_match