Fix py3 error in aosp checker
Test: repo upload Change-Id: Ib871ad60c14aa5ce811c94f87e1e38823c6d9615
This commit is contained in:
parent
0e44b583b0
commit
6fcd956e57
|
@ -49,7 +49,7 @@ def main():
|
||||||
|
|
||||||
def _is_in_aosp():
|
def _is_in_aosp():
|
||||||
branch_info = subprocess.check_output(["git", "branch", "-vv"])
|
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):
|
def _check_aosp_message(aosp_line):
|
||||||
if re.search(AOSP_COMMIT_LINK_REGEX, aosp_line):
|
if re.search(AOSP_COMMIT_LINK_REGEX, aosp_line):
|
||||||
|
|
Loading…
Reference in New Issue