Skip to content

Commit

Permalink
add concluding log line to top level functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Oct 4, 2023
1 parent 3bc6995 commit 6c80a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dsp_permissions_scripts/utils/doap_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def get_doaps_of_project(
doaps=doaps,
target=target,
)
logger.info(f"Found {len(doaps)} DOAPs, {len(filtered_doaps)} of which are related to a {target}.")
return filtered_doaps


Expand Down
1 change: 1 addition & 0 deletions dsp_permissions_scripts/utils/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def get_all_resource_oaps_of_project(
token=token,
)
all_resource_oaps.extend(resource_oaps)
logger.info(f"Retrieved a TOTAL of {len(all_resource_oaps)} resource OAPs of project {shortcode}.")
return all_resource_oaps


Expand Down

0 comments on commit 6c80a26

Please sign in to comment.