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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 9 20:33:19 CET 2010


Author: jm
Date: Tue Feb  9 20:33:18 2010
New Revision: 32381

URL: http://svn.erp5.org?rev=32381&view=rev
Log:
typo

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=32381&r1=32380&r2=32381&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py [utf8] (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py [utf8] Tue Feb  9 20:33:18 2010
@@ -2346,7 +2346,7 @@
         if url is not None:
           # JPS-XXX - I think we should not display a URL for objects
           # which do not have the View permission
-          if instance(url, str):
+          if isinstance(url, str):
             url = unicode(url, encoding)
           html = u'<a href="%s">%s</a>' % (url, html)
 




More information about the Erp5-report mailing list