Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing return in previous merge
  • Loading branch information
cboos committed Apr 27, 2010
1 parent 7c109af commit 2a872c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HudsonTrac/HudsonTracPlugin.py
Expand Up @@ -235,8 +235,8 @@ def get_number(parent, child):
def render_timeline_event(self, context, field, event):
name, url, result, message, started, completed = event[3]
if field == 'title':
title = tag_('Build %(name)s (%(result)s)',
name=tag.em(name), result=result.lower())
return tag_('Build %(name)s (%(result)s)', name=tag.em(name),
result=result.lower())
elif field == 'description':
return _("%(message)s after %(elapsed)s", message=message,
elapsed=pretty_timedelta(started, completed))
Expand Down

0 comments on commit 2a872c5

Please sign in to comment.