From c9410ea23dd8cd85ed619bd6ac6e227ea0fd0e91 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 23 Sep 2011 17:37:29 -0400 Subject: [PATCH] Made jenkins email pruning more resilient. Change-Id: I812e95fb0744ad84abd7ea2ad7d11123667abbc8 --- nova/tests/test_misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/test_misc.py b/nova/tests/test_misc.py index 45c49656..f30a1bfb 100644 --- a/nova/tests/test_misc.py +++ b/nova/tests/test_misc.py @@ -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))