summaryrefslogtreecommitdiff
path: root/openerp/sql_db.py
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2013-03-27 12:10:14 +0100
committerVo Minh Thu <vmt@openerp.com>2013-03-27 12:10:14 +0100
commit1e7e2ca753185e7cb0608073d94c4d23b729d0f4 (patch)
tree25c6dc4bfda81c37c7950b17d4a707cce467ff8b /openerp/sql_db.py
parent684bd3544243afcade742942c8d17f52772dfa61 (diff)
[REF] no longer use openerp.pooler.
Either use openerp.modules.registry.RegistryManager when the full new() signature is needed, or use openerp.registry(). Replaced also some pool.get() with pool[] because KeyErrors are better than AttributeErrors on None. bzr revid: vmt@openerp.com-20130327111014-2i0hlvpy5y5ku7hm
Diffstat (limited to 'openerp/sql_db.py')
-rw-r--r--openerp/sql_db.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/openerp/sql_db.py b/openerp/sql_db.py
index 77c873b3482..c27784433c0 100644
--- a/openerp/sql_db.py
+++ b/openerp/sql_db.py
@@ -25,8 +25,6 @@
The PostgreSQL connector is a connectivity layer between the OpenERP code and
the database, *not* a database abstraction toolkit. Database abstraction is what
the ORM does, in fact.
-
-See also: the `pooler` module
"""