commit: 94e9bbb342ec6f2eec746f7500e9b0ae86722df7
Author: Göktürk Yüksek <gokturk <AT> binghamton <DOT> edu>
AuthorDate: Tue Apr 19 07:53:50 2016 +0000
Commit: Alexander Berntsen <bernalex <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 08:18:25 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=94e9bbb3
portageq: Case-insensitive match maintainer emails
Reported-by: NP-Hardass <NP-Hardass <AT> gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk <AT> binghamton.edu>
Signed-off-by: Alexander Berntsen <bernalex <AT> gentoo.org>
Reviewed-by: Alexander Berntsen <bernalex <AT> gentoo.org>
bin/portageq | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/portageq b/bin/portageq
index 07d3c49..832d004 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -1,5 +1,5 @@
#!/usr/bin/python -bO
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from __future__ import print_function, unicode_literals
@@ -1009,7 +1009,7 @@ list_preserved_libs.__doc__ =
docstrings['list_preserved_libs']
class MaintainerEmailMatcher(object):
def __init__(self, maintainer_emails):
- self._re = re.compile("^(%s)$" % "|".join(maintainer_emails))
+ self._re = re.compile("^(%s)$" % "|".join(maintainer_emails),
re.I)
def __call__(self, metadata_xml):
match = False