diff rhodecode/model/changeset_status.py @ 3260:dadfcd30589f beta

use label for auto status change
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 29 Jan 2013 22:50:43 +0100
parents 32a283e5fd0d
children 3625fd19b201
line wrap: on
line diff
--- a/rhodecode/model/changeset_status.py	Tue Jan 29 22:49:04 2013 +0100
+++ b/rhodecode/model/changeset_status.py	Tue Jan 29 22:50:43 2013 +0100
@@ -132,7 +132,7 @@
         if not comment:
             from rhodecode.model.comment import ChangesetCommentsModel
             comment = ChangesetCommentsModel().create(
-                text='Auto status change to %s' % status,
+                text='Auto status change to %s' % (ChangesetStatus.get_status_lbl(status)),
                 repo=repo,
                 user=user,
                 pull_request=pull_request,