From 73ad25997699f723136bdca4c5e805c5f4b2352d Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Tue, 29 Jan 2008 10:10:07 +0000
Subject: [PATCH] Change operator which is more python aware

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18899 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/ListBox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py
index 698f6664cc..8418afc636 100644
--- a/product/ERP5Form/ListBox.py
+++ b/product/ERP5Form/ListBox.py
@@ -2112,7 +2112,7 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine):
         else:
           # JPS-XXX - I think we should not display a URL for objects
           # which do not have the View permission
-          if type(url) == str:
+          if type(url) is str:
             url = unicode(url.decode('utf-8'))
           html = u'<a href="%s">%s</a>' % (url, processed_value)
 
-- 
2.30.9