Mercurial > kallithea
comparison rhodecode/controllers/changeset.py @ 2188:56e96d4e9f6e beta
white space cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 14 Apr 2012 22:15:45 +0200 |
parents | b61e540122f2 |
children | 3052f90c568a |
comparison
equal
deleted
inserted
replaced
2187:b61e540122f2 | 2188:56e96d4e9f6e |
---|---|
374 'target_id': h.safeid(h.safe_unicode(request.POST.get('f_path'))), | 374 'target_id': h.safeid(h.safe_unicode(request.POST.get('f_path'))), |
375 } | 375 } |
376 if comm: | 376 if comm: |
377 c.co = comm | 377 c.co = comm |
378 data.update(comm.get_dict()) | 378 data.update(comm.get_dict()) |
379 data.update({'rendered_text': render('changeset/changeset_comment_block.html')}) | 379 data.update({'rendered_text': |
380 render('changeset/changeset_comment_block.html')}) | |
380 return data | 381 return data |
381 | 382 |
382 @jsonify | 383 @jsonify |
383 def delete_comment(self, repo_name, comment_id): | 384 def delete_comment(self, repo_name, comment_id): |
384 co = ChangesetComment.get(comment_id) | 385 co = ChangesetComment.get(comment_id) |