1
0
Fork 0
mirror of https://github.com/ejwa/gitinspector.git synced 2025-03-18 14:28:00 +01:00

Fixed problem with the new email detection patch.

This commit is contained in:
Adam Waldenberg 2014-11-03 11:02:06 +01:00
parent 12dce7f365
commit fa5e5411f5

View file

@ -143,7 +143,7 @@ class Blame:
@staticmethod
def get_author_email(string):
author_email = re.search("^[0-9a-f]{8} \(<([^>]*)", string)
author_email = re.search("\(<([^>]*)", string)
return author_email.group(1)
@staticmethod