def update_oai_info(self):
for field in record_get_field_instances(self.record, '<STR_LIT>', ind1="<STR_LIT:C>", ind2="<STR_LIT:O>"):<EOL><INDENT>new_subs = []<EOL>for tag, value in field[<NUM_LIT:0>]:<EOL><INDENT>if tag == "<STR_LIT:o>":<EOL><INDENT>new_subs.append(("<STR_LIT:a>", value))<EOL><DEDENT>else:<EOL><INDENT>new_subs.append((tag, value))<EOL><DEDENT>if value in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>self.tag_as_cern = True<EOL><DEDENT><DEDENT>record_add_field(self.record, '<STR_LIT>', ind1="<STR_LIT>", subfields=new_subs)<EOL><DEDENT>record_delete_fields(self.record, '<STR_LIT>')<EOL>
Add the 909 OAI info to 035.