Commit 73ad2599 authored by Nicolas Delaby's avatar Nicolas Delaby

Change operator which is more python aware

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18899 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0c8018e
...@@ -2112,7 +2112,7 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine): ...@@ -2112,7 +2112,7 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine):
else: else:
# JPS-XXX - I think we should not display a URL for objects # JPS-XXX - I think we should not display a URL for objects
# which do not have the View permission # which do not have the View permission
if type(url) == str: if type(url) is str:
url = unicode(url.decode('utf-8')) url = unicode(url.decode('utf-8'))
html = u'<a href="%s">%s</a>' % (url, processed_value) html = u'<a href="%s">%s</a>' % (url, processed_value)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment