Commit 2d8850fc authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update RecordPubli to simplify the iterator algebra.

parent 398eef6d
......@@ -138,7 +138,7 @@ class RecordPubli(Record):
"""
li = []
regex = re.compile(pattern)
return u", ".join(list(ifilter(regex.search, iter_author_names(self))))
return u", ".join(ifilter(regex.search, iter_author_names(self)))
def find_authors_by_affiliation(self, pattern, cmpFct=None):
"""Find authors belonging to a given institute(s) defined by a regular
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment