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

Commit 6fcd956e authored by Hall Liu's avatar Hall Liu
Browse files

Fix py3 error in aosp checker

Test: repo upload
Change-Id: Ib871ad60c14aa5ce811c94f87e1e38823c6d9615
parent 0e44b583
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):