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:
Barry Wardell
2011-11-23 22:12:52 +00:00
committed by Frej Drejhammar
parent 3e00d99d39
commit 0a9570c676

View File

@@ -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('^["]([^"]+)["]$')