Unverified Commit eb7b0b02 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

remove logs

parent 3a832f39
Pipeline #16896 passed with stages
in 4 minutes and 11 seconds
...@@ -164,20 +164,6 @@ def _is_directly_fetchable(digital_object_resource): ...@@ -164,20 +164,6 @@ def _is_directly_fetchable(digital_object_resource):
def _get_access_status(graph, record_id): def _get_access_status(graph, record_id):
for resource in graph: for resource in graph:
logging.info(resource)
logging.info("type in resource => {}".format('type' in resource))
if 'type' in resource:
logging.info("type == 'access' => {}".format(resource['type'] == 'access'))
else:
logging.info("type == 'access' => False")
logging.info("regulates in resource => {}".format('regulates' in resource))
if 'regulates' in resource:
logging.info("resource['regulates'].startswith('https://memobase.ch/digital/') => {}"
.format(resource['regulates'].startswith('https://memobase.ch/digital/')))
else:
logging\
.info("resource['regulates'].startswith('https://memobase.ch/digital/') => False")
logging.info("name in resource => {}".format('name' in resource))
if 'type' in resource and resource['type'] == 'access' and \ if 'type' in resource and resource['type'] == 'access' and \
'regulates' in resource and \ 'regulates' in resource and \
resource['regulates'].startswith('https://memobase.ch/digital/') and \ resource['regulates'].startswith('https://memobase.ch/digital/') and \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment