Skip to content
Snippets Groups Projects
Commit 082b1dc9 authored by Antony Lesuisse's avatar Antony Lesuisse
Browse files

restore the original gevent detection

bzr revid: al@openerp.com-20130909231946-aglho23enxhfwm0i
parent 65c0538a
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,5 @@ psycogreen.gevent.patch_psycopg()
import openerp
openerp.evented = True
if __name__ == "__main__":
openerp.cli.main()
......@@ -27,6 +27,8 @@ import sys
# Is the server running with gevent.
evented = False
if sys.modules.get("gevent") is not None:
evented = True
# Make sure the OpenERP server runs in UTC. This is especially necessary
# under Windows as under Linux it seems the real import of time is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment