##// END OF EJS Templates
fixes for #99, added casting to unicode for int chars as utf-8 files
marcink -
r955:129eb072 beta
parent child Browse files
Show More
@@ -199,11 +199,12 tooltip = _ToolTip()
199 class _FilesBreadCrumbs(object):
199 class _FilesBreadCrumbs(object):
200
200
201 def __call__(self, repo_name, rev, paths):
201 def __call__(self, repo_name, rev, paths):
202 if isinstance(paths, str):
203 paths = paths.decode('utf-8')
202 url_l = [link_to(repo_name, url('files_home',
204 url_l = [link_to(repo_name, url('files_home',
203 repo_name=repo_name,
205 repo_name=repo_name,
204 revision=rev, f_path=''))]
206 revision=rev, f_path=''))]
205 paths_l = paths.split('/')
207 paths_l = paths.split('/')
206
207 for cnt, p in enumerate(paths_l):
208 for cnt, p in enumerate(paths_l):
208 if p != '':
209 if p != '':
209 url_l.append(link_to(p, url('files_home',
210 url_l.append(link_to(p, url('files_home',
General Comments 0
You need to be logged in to leave comments. Login now