Skip to content

Commit 2463de2

Browse files
committed
Deprecated
1 parent ee2c2e6 commit 2463de2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update_commits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_commit(variable: str, url: str, parse_commit: callable, previous_commit:
2828
def parse_gerrit_commit(response: requests.Response) -> str:
2929
"""Parse webpage using BeautifulSoup"""
3030
soup = BeautifulSoup(response.content, "lxml")
31-
return soup.find("th", text="commit").next_sibling.text
31+
return soup.find("th", string="commit").next_sibling.text
3232

3333

3434
github_pattern = re.compile(

0 commit comments

Comments
 (0)