diff rhodecode/model/changeset_status.py @ 4097:7baea802f739

fixes issue #884 Pull Request fails when setting the lang=ja
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 28 Jul 2013 19:14:57 +0200
parents 3625fd19b201
children ffd45b185016
line wrap: on
line diff
--- a/rhodecode/model/changeset_status.py	Mon Jul 22 18:08:28 2013 +0200
+++ b/rhodecode/model/changeset_status.py	Sun Jul 28 19:14:57 2013 +0200
@@ -132,7 +132,7 @@
         if not comment:
             from rhodecode.model.comment import ChangesetCommentsModel
             comment = ChangesetCommentsModel().create(
-                text='Auto status change to %s' % (ChangesetStatus.get_status_lbl(status)),
+                text=u'Auto status change to %s' % (ChangesetStatus.get_status_lbl(status)),
                 repo=repo,
                 user=user,
                 pull_request=pull_request,