changeset 6126:a1b3f392032b

pullrequests: drop 'Closing.' comment when closing a PR - the semantic change is shown clearly everywhere Things have changed since 9cfc66a665ae.
author Mads Kiilerich <madski@unity3d.com>
date Fri, 12 Aug 2016 03:04:48 +0200
parents 96d228a53d55
children a89be5fb75d2
files kallithea/controllers/pullrequests.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/controllers/pullrequests.py	Fri Aug 12 03:04:48 2016 +0200
+++ b/kallithea/controllers/pullrequests.py	Fri Aug 12 03:04:48 2016 +0200
@@ -772,8 +772,6 @@
             raise HTTPForbidden()
 
         text = request.POST.get('text', '').strip()
-        if close_pr:
-            text = _('Closing.') + '\n' + text
 
         comment = create_comment(
             text,