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

Bug #656185 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

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

Revision history for this message
Ferdinand (office-chricar) wrote :

may be my fault I had a zip module around

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.