Logo Search packages:      
Sourcecode: zope-mysqlda version File versions  Download package

def ZMySQLDA::db::DBPool::_pool_set (   self,
  key,
  value 
) [private]

Add a db to pool.

Definition at line 266 of file db.py.

00266                                    :
        """ Add a db to pool.
        """
        self._db_lock.acquire()
        try:
            self._db_pool[key] = value
        finally:
            self._db_lock.release()

    def _pool_get(self, key):


Generated by  Doxygen 1.6.0   Back to index