Made jenkins email pruning more resilient.
Change-Id: I812e95fb0744ad84abd7ea2ad7d11123667abbc8
This commit is contained in:
@@ -71,7 +71,7 @@ class ProjectTestCase(test.TestCase):
|
|||||||
for email in commands.getoutput('git log --format=%ae').split():
|
for email in commands.getoutput('git log --format=%ae').split():
|
||||||
if not email:
|
if not email:
|
||||||
continue
|
continue
|
||||||
if "jenkins@review.openstack.org" in email:
|
if "jenkins" in email and "openstack.org" in email:
|
||||||
continue
|
continue
|
||||||
email = '<' + email + '>'
|
email = '<' + email + '>'
|
||||||
contributors.add(str_dict_replace(email, mailmap))
|
contributors.add(str_dict_replace(email, mailmap))
|
||||||
|
|||||||
Reference in New Issue
Block a user