[Erp5-report] r18899 - /erp5/trunk/products/ERP5Form/ListBox.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jan 29 11:10:07 CET 2008


Author: nicolas
Date: Tue Jan 29 11:10:07 2008
New Revision: 18899

URL: http://svn.erp5.org?rev=18899&view=rev
Log:
Change operator which is more python aware

Modified:
    erp5/trunk/products/ERP5Form/ListBox.py

Modified: erp5/trunk/products/ERP5Form/ListBox.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ListBox.py?rev=18899&r1=18898&r2=18899&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py Tue Jan 29 11:10:07 2008
@@ -2112,7 +2112,7 @@
         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)
 




More information about the Erp5-report mailing list