Merge "Made jenkins email pruning more resilient."

This commit is contained in:
Jenkins 2011-09-23 21:55:51 +00:00 committed by Gerrit Code Review
commit 0da27977d7

View File

@ -71,7 +71,7 @@ class ProjectTestCase(test.TestCase):
for email in commands.getoutput('git log --format=%ae').split():
if not email:
continue
if "jenkins@review.openstack.org" in email:
if "jenkins" in email and "openstack.org" in email:
continue
email = '<' + email + '>'
contributors.add(str_dict_replace(email, mailmap))