Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 464d350

Browse files
authored
Merge pull request #376 from FoamyGuy/strip_before_parse
strip lib string before parse
2 parents 12a1ce8 + f994308 commit 464d350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adabot/lib/bundle_announcer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_bundle_updates(full_repo_name: str) -> Tuple[Set[RepoResult], Set[RepoRe
6565
x.strip(",") for x in relevant_line.split(" ")[2:]
6666
]
6767
for lib in lib_components:
68-
comps = parse.parse("[{name:S}]({link_comp:S})", lib)
68+
comps = parse.parse("[{name:S}]({link_comp:S})", lib.strip())
6969
link: str = parse.search(
7070
"{link:S}/releases", comps["link_comp"]
7171
)["link"]

0 commit comments

Comments
 (0)