Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a81f7cc authored by Hall Liu's avatar Hall Liu Committed by Gerrit Code Review
Browse files

Merge "Fix py3 error in aosp checker"

parents a40bcd14 6fcd956e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ def main():

def _is_in_aosp():
  branch_info = subprocess.check_output(["git", "branch", "-vv"])
  return re.search(AOSP_BRANCH_REGEX, branch_info) is not None
  return re.search(AOSP_BRANCH_REGEX, str(branch_info)) is not None

def _check_aosp_message(aosp_line):
  if re.search(AOSP_COMMIT_LINK_REGEX, aosp_line):