We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65c0538 commit 082b1dcCopy full SHA for 082b1dc
openerp-gevent
@@ -7,7 +7,5 @@ psycogreen.gevent.patch_psycopg()
7
8
import openerp
9
10
-openerp.evented = True
11
-
12
if __name__ == "__main__":
13
openerp.cli.main()
openerp/__init__.py
@@ -27,6 +27,8 @@
27
28
# Is the server running with gevent.
29
evented = False
30
+if sys.modules.get("gevent") is not None:
31
+ evented = True
32
33
# Make sure the OpenERP server runs in UTC. This is especially necessary
34
# under Windows as under Linux it seems the real import of time is
0 commit comments