From 642907990e73b387d75a6c1df13b9f70648e24ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Tue, 31 May 2016 08:17:49 +0200 Subject: if no email defined, at least default to author@mageia.org --- MgaRepo/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MgaRepo/log.py b/MgaRepo/log.py index 25de1b7..04d6289 100644 --- a/MgaRepo/log.py +++ b/MgaRepo/log.py @@ -213,7 +213,7 @@ emailpat = re.compile("(?P.*?)\s*<(?P.*?)>") def get_author_name(author): found = emailpat.match(config.get("users", author, author)) name = ((found and found.group("name")) or author) - email = ((found and found.group("email")) or author) + email = ((found and found.group("email")) or author+"@mageia.org") return name, email def parse_raw_date(rawdate): -- cgit v1.2.1