##// END OF EJS Templates
fixed #746 unicodeDedode errors on feed controllers
marcink -
r3292:2464ac75 beta
parent child Browse files
Show More
@@ -36,7 +36,7 b' from rhodecode.lib.auth import LoginRequ'
36 from rhodecode.lib.base import BaseRepoController
36 from rhodecode.lib.base import BaseRepoController
37 from rhodecode.lib.diffs import DiffProcessor, LimitedDiffContainer
37 from rhodecode.lib.diffs import DiffProcessor, LimitedDiffContainer
38 from rhodecode.model.db import CacheInvalidation
38 from rhodecode.model.db import CacheInvalidation
39 from rhodecode.lib.utils2 import safe_int, str2bool
39 from rhodecode.lib.utils2 import safe_int, str2bool, safe_unicode
40
40
41 log = logging.getLogger(__name__)
41 log = logging.getLogger(__name__)
42
42
@@ -113,7 +113,7 b' class FeedController(BaseRepoController)'
113 desc_msg.append('\n\n')
113 desc_msg.append('\n\n')
114 desc_msg.append(diff_processor.as_raw())
114 desc_msg.append(diff_processor.as_raw())
115 desc_msg.append('</pre>')
115 desc_msg.append('</pre>')
116 return desc_msg
116 return map(safe_unicode, desc_msg)
117
117
118 def atom(self, repo_name):
118 def atom(self, repo_name):
119 """Produce an atom-1.0 feed via feedgenerator module"""
119 """Produce an atom-1.0 feed via feedgenerator module"""
General Comments 0
You need to be logged in to leave comments. Login now