# HG changeset patch # User Marcin Kuzminski # Date 1303928163 -7200 # Node ID 11548cc19c8f4e8f379c2750de46075a17afe2a3 # Parent 6f3411bd163db4645acc9fdb0207ef0c3acda015 fixes #183 decoding of paths in changes diff -r 6f3411bd163d -r 11548cc19c8f rhodecode/controllers/feed.py --- a/rhodecode/controllers/feed.py Wed Apr 27 01:29:49 2011 +0200 +++ b/rhodecode/controllers/feed.py Wed Apr 27 20:16:03 2011 +0200 @@ -28,6 +28,7 @@ from pylons import url, response, tmpl_context as c from pylons.i18n.translation import _ +from rhodecode.lib import safe_unicode from rhodecode.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator from rhodecode.lib.base import BaseRepoController @@ -53,15 +54,15 @@ def __changes(self, cs): changes = '' - a = [n.path for n in cs.added] + a = [safe_unicode(n.path) for n in cs.added] if a: changes += '\nA ' + '\nA '.join(a) - m = [n.path for n in cs.changed] + m = [safe_unicode(n.path) for n in cs.changed] if m: changes += '\nM ' + '\nM '.join(m) - d = [n.path for n in cs.removed] + d = [safe_unicode(n.path) for n in cs.removed] if d: changes += '\nD ' + '\nD '.join(d)