Skip to content

Commit

Permalink
SFR-2386 Remove empty related bib warning log (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylevillegas93 authored Dec 6, 2024
1 parent c6cb33d commit 91d0827
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions processes/frbr/classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ def classify_record_by_metadata(self, identifier, identifier_type, author, title

related_oclc_bibs = self.oclc_catalog_manager.query_bibs(search_query)

if not len(related_oclc_bibs):
logger.warning(f'No OCLC bibs returned for query {search_query}')

for related_oclc_bib in related_oclc_bibs:
oclc_number = related_oclc_bib.get('identifier', {}).get('oclcNumber')
owi_number = related_oclc_bib.get('work', {}).get('id')
Expand Down

0 comments on commit 91d0827

Please sign in to comment.