equal
deleted
inserted
replaced
47 """Returns a HTML representation of a comment. |
47 """Returns a HTML representation of a comment. |
48 """ |
48 """ |
49 |
49 |
50 edit_link = '' |
50 edit_link = '' |
51 current_user = user_logic.logic.getForCurrentAccount() |
51 current_user = user_logic.logic.getForCurrentAccount() |
52 |
52 # pylint: disable-msg=E1103 |
53 if current_user and comment.author.key() == current_user.key(): |
53 if current_user and comment.author.key() == current_user.key(): |
54 params = {'url_name': context['comment_on_url_name']} |
54 params = {'url_name': context['comment_on_url_name']} |
55 edit_link = redirects.getEditRedirect(comment, params) |
55 edit_link = redirects.getEditRedirect(comment, params) |
56 |
56 |
57 context.update({ |
57 context.update({ |