You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See TODO in code below in systemcompliance.py. Code loads a remote reference listed in a dependency but does not check if the key is duplicated and therefore overwrites content.
# load dependenciesforitem_typeinself.supported_dictionaries:
# get standards in dependenciesfordependency_iteminocf.list_dependency_items_in_repo(ocf.resolve_ocfile_url(repo_url, revision), item_type):
# print("******** dependency_item ******\n", dependency_item)dependency_ocf=OpenControlFiles()
dependency_repo_url=dependency_item['url']
# print("******** dependency_repo_url ******\n", dependency_repo_url)dependency_revision=dependency_item['revision']
# print("******** resolved dependency *******\n", dependency_ocf.resolve_ocfile_url(dependency_repo_url.strip("/"), dependency_revision))forurlindependency_ocf.list_items_urls_in_repo(dependency_ocf.resolve_ocfile_url(dependency_repo_url.strip("/"), dependency_revision), item_type):
print("*** Reading dependencies %s %s"% (item_type, url))
# TODO test if we will end duplicating and overwriting existing keyself.add_system_dict_from_url(item_type, url)
The text was updated successfully, but these errors were encountered:
See
TODO
in code below insystemcompliance.py
. Code loads a remote reference listed in a dependency but does not check if the key is duplicated and therefore overwrites content.The text was updated successfully, but these errors were encountered: