We iterate over every field of the original record to create the new
record. Except... the leader is not an iterable field. So we were
pushing default leaders onto every new record we were creating. That
is... suboptimal to the max.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
"""Decide which fields to add, delete, and keep"""
new_record = pymarc.Record(to_unicode=True, force_utf8=True)
+ new_record.leader = record.leader
add_cat_source(record, options) # 040