mirror of
https://github.com/frej/fast-export.git
synced 2026-03-05 17:50:43 +01:00
Support the case where the author field has an empty email address, i.e. it is of the form 'name <>'.
This commit is contained in:
committed by
Frej Drejhammar
parent
3e00d99d39
commit
0a9570c676
@@ -13,7 +13,7 @@ cfg_master='master'
|
||||
# default origin name
|
||||
origin_name=''
|
||||
# silly regex to see if user field has email address
|
||||
user_re=re.compile('([^<]+) (<[^>]+>)$')
|
||||
user_re=re.compile('([^<]+) (<[^>]*>)$')
|
||||
# silly regex to clean out user names
|
||||
user_clean_re=re.compile('^["]([^"]+)["]$')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user