Skip to content

Commit

Permalink
Merge pull request #6190 from internetarchive/tmp-partner-authors
Browse files Browse the repository at this point in the history
re-enabling authors
  • Loading branch information
mekarpeles authored Feb 26, 2022
2 parents ad900fe + 2a6ef4d commit 0213cd9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/partner_batch_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,8 @@ def __init__(self, data):

# Assert importable
for field in self.REQUIRED_FIELDS + ['isbn_13']:
# XXX There is currently a bug where the authors check
# seems to fail for every record. Req's a regression test.
if field != "authors":
assert getattr(self, field), field
assert getattr(self, field), field
# This seems to be eliminating books too aggressively
#assert self.primary_format not in self.NONBOOK, f"{self.primary_format} is NONBOOK"

@staticmethod
Expand Down

0 comments on commit 0213cd9

Please sign in to comment.