← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 656185] Re: [trunk] __init__.py does not "forget" deleted import lines without server restart

 

Hello Ferdinand,

This is not a bug, any change to Python files that have already been loaded in the server requires a hard restart of the server, always. Loading python code is the responsibility of the Python Interpretor and the in-memory code is not "hot-swappable".
This is not something we plan to change.

** Changed in: openobject-server
       Status: New => Invalid

-- 
[trunk] __init__.py does not "forget" deleted import lines without server restart
https://bugs.launchpad.net/bugs/656185
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Invalid

Bug description:
after removing one line 
import <py-file>
in __init__.py 
the server tries to load the (still existing) file unless restart of the server
i tried to delete the module and refresh the module list - didn't help