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

fix flake8 issues

parent 91272962
Pipeline #16753 passed with stages
in 4 minutes and 14 seconds
......@@ -224,7 +224,8 @@ def _get_access_status(graph):
def _get_record_id(graph):
for resource in graph:
if '@type' in resource and resource['@type'] == 'https://www.ica.org/standards/RiC/ontology#Record':
if '@type' in resource and resource['@type'] == \
'https://www.ica.org/standards/RiC/ontology#Record':
return resource['@id'] if '@id' in resource else None
......@@ -331,7 +332,8 @@ class MediametadataToDB:
_get_values_from_thumbnail_object,
access_status)
else:
logging.info(f'Ignoring record {record_id} since access of digitalObject is {access_status}')
logging.info(f'Ignoring record {record_id} since' +
f' access of digitalObject is {access_status}')
reporter.send_message(record_id,
"SUCCESS",
"Ignoring record since access of " +
......
Supports Markdown
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