| |
@@ -853,6 +853,9 @@
|
| |
stats[(author, email)] += 1
|
| |
|
| |
for (name, email), val in stats.items():
|
| |
+ if not email:
|
| |
+ # Author email is missing in the git commit.
|
| |
+ continue
|
| |
# For each recorded user info, check if we know the e-mail address of
|
| |
# the user.
|
| |
user = pagure.lib.search_user(session, email=email)
|
| |
Fixes: #3196
I can't reproduce it, so I'm not completely sure this works.