Return a list of emails extracted from a text ``line``, or None
(line)
| 95 | |
| 96 | |
| 97 | def get_emails(line): |
| 98 | """ |
| 99 | Return a list of emails extracted from a text ``line``, or None |
| 100 | """ |
| 101 | if '.email' in line: |
| 102 | _key, _sep, value = line.rpartition('=') |
| 103 | stripped_emails = get_cleaned_string(value) |
| 104 | stripped_emails = stripped_emails.strip() |
| 105 | stripped_emails = stripped_emails.split(',') |
| 106 | return stripped_emails |
| 107 | |
| 108 | |
| 109 | def get_authors(line): |
nothing calls this directly
no test coverage detected