mod_hgpoll.py

changeset 75
1818d56c8ff5
parent 74
9f14fb6995ff
child 76
a2fe9ba3041a
equal deleted inserted replaced
74:9f14fb6995ff 75:1818d56c8ff5
80 match = re.compile (r'^(.+) <([^>]+)>$.*').match (author) 80 match = re.compile (r'^(.+) <([^>]+)>$.*').match (author)
81 if match: 81 if match:
82 author = match.group (1) 82 author = match.group (1)
83 email = match.group (2) 83 email = match.group (2)
84 84
85 username = find_developer_by_email (email) 85 username = Bt.find_developer_by_email (email)
86 86
87 if username != '': 87 if username != '':
88 author = username 88 author = username
89 89
90 if delta.days < 4: 90 if delta.days < 4:

mercurial