Discussion:
[Erp5-dev] Change
Jean-Paul Smets
2007-02-19 15:10:19 UTC
Permalink
Hi,

I am considering to remove the following condition in ERP5Type.py
(or at least use it in a very different way):

elif isinstance(category_result, dict):
category_result = [category_result]

Please let me know if it would hurt anyone ?

JPS.

PS. The solution for migration is to return a list of dicts instead of a
dict in your security scripts.
--
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Rentalinux: Desktop Linux Server
http://www.rentalinux.com
Loading...