mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-12-22 13:42:14 +01:00
International characters were being stripped when running under Python 2.
This commit is contained in:
parent
8d597238c1
commit
f95e81bb69
1 changed files with 1 additions and 1 deletions
2
blame.py
2
blame.py
|
@ -124,7 +124,7 @@ class Blame:
|
|||
@staticmethod
|
||||
def get_author(string):
|
||||
author = re.search(" \((.*?)\d\d\d\d-\d\d-\d\d", string)
|
||||
return re.sub("[^\w ]", "", author.group(1)).strip()
|
||||
return author.group(1).strip()
|
||||
|
||||
@staticmethod
|
||||
def get_content(string):
|
||||
|
|
Loading…
Reference in a new issue