Skip to content

Commit

Permalink
chore: add check for redundant urls
Browse files Browse the repository at this point in the history
  • Loading branch information
salman2013 committed Jun 4, 2024
1 parent d90f57f commit 6b5aac0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edx_repo_tools/find_dependencies/find_python_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def main(directories=None, ignore_paths=None):
home_page = request_package_info_url(req.name)
if home_page is not None:
if match := urls_in_orgs([home_page], SECOND_PARTY_ORGS):
packages_url.append(home_page)
if home_page not in packages_url
packages_url.append(home_page)

if set(packages_url) != set(ignore_paths):
print("Second party packages:")
Expand Down

0 comments on commit 6b5aac0

Please sign in to comment.