When writing this fix [1], I came across code of file_open (in tools/misc.py)
where there is some code to manage zipped modules.
This feature comes from OpenERP (I developped it) with the goals to manage
installation of module from within the client. Of course, we did not take this
part of the code for obvious security reasons.
Now, I think it is time to remove this code to enforce the usage of proper
Python installation (with easy_install or pip).
More over, I think it will increase a little bit the boot time of the server.
What is your thoughts ?
[1] http://hg.tryton.org/trytond/rev/2b1deeccc838
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric...@b2ck.com
Website: http://www.b2ck.com/
Am Montag, den 23.05.2011, 17:08 +0200 schrieb Cédric Krier:
> Hi,
> When writing this fix [1], I came across code of file_open (in tools/misc.py)
> where there is some code to manage zipped modules.
> This feature comes from OpenERP (I developped it) with the goals to manage
> installation of module from within the client. Of course, we did not take this
> part of the code for obvious security reasons.
> Now, I think it is time to remove this code to enforce the usage of proper
> Python installation (with easy_install or pip).
> More over, I think it will increase a little bit the boot time of the server.
> What is your thoughts ?
We do not use this feature and I do not see any benefit for it. For me, you can
remove the installation of zip files.
Cheers
--
Udo Spallek
------------------------------------
virtual things
Preisler & Spallek GbR
Munich - Aix-la-Chapelle
Windeckstr. 77
81375 Munich - Germany
Tel: +49 (89) 710 481 55
Fax: +49 (89) 710 481 56
in...@virtual-things.biz
http://www.virtual-things.biz