Fix py3 error in aosp checker

Test: repo upload
Change-Id: Ib871ad60c14aa5ce811c94f87e1e38823c6d9615
This commit is contained in:
Hall Liu 2021-04-19 15:25:30 -07:00
parent 0e44b583b0
commit 6fcd956e57
1 changed files with 1 additions and 1 deletions

View File

@ -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):