[IMP] more augmented assignments
[odoo/odoo.git] / openerp / __init__.py
index 7e723c4..c9db707 100644 (file)
 SUPERUSER_ID = 1
 
 import addons
+import cli
 import conf
 import loglevels
 import modules
 import netsvc
 import osv
 import pooler
-import pychart
 import release
 import report
 import run_tests
 import service
 import sql_db
 import test
-import tiny_socket
 import tools
-import wizard
 import workflow
-import wsgi
+# backward compatilbility
+# TODO: This is for the web addons, can be removed later.
+wsgi = service
+wsgi.register_wsgi_handler = wsgi.wsgi_server.register_wsgi_handler
+# Is the server running in multi-process mode (e.g. behind Gunicorn).
+# If this is True, the processes have to communicate some events,
+# e.g. database update or cache invalidation. Each process has also
+# its own copy of the data structure and we don't need to care about
+# locks between threads.
+multi_process = False
 
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: