示例#1
0
 def remove_missing_citations(self, citations):
     for citation in citations:
         if citation in self.bib_data.entries:
             yield citation
         else:
             print_warning(
                 'missing database entry for "{0}"'.format(citation))
 def remove_missing_citations(self, citations):
     for citation in citations:
         if citation in self.bib_data.entries:
             yield citation
         else:
             print_warning('missing database entry for "{0}"'.format(citation))