271 commit_diffstat = 'Changes in files:\n' + bbcodify(commit_diffstat) |
271 commit_diffstat = 'Changes in files:\n' + bbcodify(commit_diffstat) |
272 else: |
272 else: |
273 commit_diffstat = 'No changes in files.' |
273 commit_diffstat = 'No changes in files.' |
274 |
274 |
275 # Compare the email addresses against known developer usernames |
275 # Compare the email addresses against known developer usernames |
276 commit_trackeruser = find_developer_by_email (commit_email) |
276 commit_trackeruser = Config.find_developer_by_email (commit_email) |
277 |
277 |
278 if commit_trackeruser != '': |
278 if commit_trackeruser != '': |
279 commit_author += ' [%s]' % commit_trackeruser |
279 commit_author += ' [%s]' % commit_trackeruser |
280 |
280 |
281 message = 'Issue addressed by commit %s: [b][url=%s/commits/%s]%s[/url][/b]' \ |
281 message = 'Issue addressed by commit %s: [b][url=%s/commits/%s]%s[/url][/b]' \ |