Revision 1a736ca8 snf-common/synnefo/lib/db/pooled_psycopg2/__init__.py

b/snf-common/synnefo/lib/db/pooled_psycopg2/__init__.py
33 33
#
34 34

  
35 35
import psycopg2
36
from synnefo.lib.pool import ObjectPool
36
from objpool import ObjectPool
37 37

  
38 38
from select import select
39 39
import logging
......
81 81

  
82 82

  
83 83
class Psycopg2ConnectionPool(ObjectPool):
84
    """A synnefo.lib.pool.ObjectPool of psycopg2 connections.
84
    """A objpool.ObjectPool of psycopg2 connections.
85 85

  
86 86
    Every connection knows how to return itself to the pool
87 87
    when it gets close()d.

Also available in: Unified diff