示例#1
0
def unimarc_notes(self, key, value):
    """Get  notes.

    note: [300$a repetitive]
    """
    add_note(dict(noteType='general', label=value.get('a', '')), self)

    return None
示例#2
0
def marc21_to_notes(self, key, value):
    """Get  notes.

    note: [500$a repetitive]
    """
    add_note(
        dict(noteType='general',
             label=not_repetitive(marc21.bib_id, marc21.rero_id, key, value,
                                  'a')), self)
    return None